interface GigabitEthernet0/4
rename 4
switchport mode access
switchport access vlan 222
up
interface GigabitEthernet0/Vlan222
role inet for BELKA
security-level public
ip address 172.16.17.1 255.255.255.0
ip dhcp client dns-routes
ip dhcp client name-servers
up
interface GigabitEthernet0/Vlan888
rename BELKA
description Belka_VID888
role inet
mac address factory wan
security-level public
ip address 172.30.30.30 255.255.255.224
ip dhcp client dns-routes
ip dhcp client name-servers
ip global 49149
igmp upstream
up
ip static tcp BELKA 2222 dc:a6:32:ac:16:b0 22 !LB
dc:a6:32:ac:16:b0 -- MAC raspberry
НЕ РАБОТАЕТ.
ssh -p 2222 root@172.30.30.30
ssh: connect to host 172.30.30.30 port 2222: Connection refused
На raspberry firewall нет, с кинетика пинг идет.
P.S. Раньше, до инцидента, raspberry получал IP по dhcp (172.16.16.16/24 - кинетика адрес и пулл) из кинетика и все работало. Но добрый человек прописал на raspberry статический адрес 172.16.17.16/24 и теперь как-то надо попасть на raspberry по ssh.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
henry.pootel
Здравствуйте. Имеем keenetic, к нему подключен raspberry_pi к 4 порту. До кинетика могу добраться только по ssh. Нужно пробросить
любой порт (например 2222) на 22 порт raspberry. IP кинетика - 172.30.30.30/24 IP raspberry - 172.16.17.16/24
Имеем:
release: 2.16.D.11.0-1 hw_version: 15560000-A hw_id: ku_ra device: Keenetic Ultra
interface GigabitEthernet0/4 rename 4 switchport mode access switchport access vlan 222 up interface GigabitEthernet0/Vlan222 role inet for BELKA security-level public ip address 172.16.17.1 255.255.255.0 ip dhcp client dns-routes ip dhcp client name-servers up interface GigabitEthernet0/Vlan888 rename BELKA description Belka_VID888 role inet mac address factory wan security-level public ip address 172.30.30.30 255.255.255.224 ip dhcp client dns-routes ip dhcp client name-servers ip global 49149 igmp upstream up ip static tcp BELKA 2222 dc:a6:32:ac:16:b0 22 !LB
dc:a6:32:ac:16:b0 -- MAC raspberry
НЕ РАБОТАЕТ.
ssh -p 2222 root@172.30.30.30
ssh: connect to host 172.30.30.30 port 2222: Connection refused
На raspberry firewall нет, с кинетика пинг идет.
P.S. Раньше, до инцидента, raspberry получал IP по dhcp (172.16.16.16/24 - кинетика адрес и пулл) из кинетика и все работало. Но добрый человек прописал на raspberry статический адрес 172.16.17.16/24 и теперь как-то надо попасть на raspberry по ssh.
Link to comment
Share on other sites
39 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.