NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chfascik
Mar 09, 2017Tutor
M4100-D12G VLAN routing - ping VLAN1
Hi, I have simple lab network: Router, switch M4100, external DHCP server and 2 hosts. I try to setup 2 VLANs and intervlan routing. 1. set static routing on router (172.16.5.1): a)...
chfascik
Mar 11, 2017Tutor
Jedi_Exile - thanks for reply.
I made configuration as You described. Here is the show running-config. I add only VLAN 7 and change uplink ports (port1 is to DHCP, port 26 is uplink to router). Change switch to M1400-26G.
Of course interface 0/1 is:
interface 0/1
vlan pvid 1
vlan participation include 1
vlan database vlan 7 vlan routing 1 1 vlan routing 7 3 exit configure time-range ip route 0.0.0.0 0.0.0.0 172.16.5.1 ip helper enable ip helper-address 172.16.5.2 dhcp line console exit line telnet exit line ssh exit ! interface 0/1 description 'Port to DHCP Server' exit interface 0/7 description 'access port vlan 7' vlan pvid 7 vlan participation exclude 1 vlan participation include 7 exit interface 0/26 description 'Port to Router' exit interface vlan 1 routing ip address 172.16.5.254 255.255.255.0 exit interface vlan 7 routing ip address 172.16.7.254 255.255.255.0 exit service dhcp exit
Also I changed router and DHCP server configuration.
Here is static routes on router
And DHCP server settings
and if I done that host in VLAN 7 can't get IP address. From VLAN 7 host I can't ping any host in VLAN 1 (gateway, clients, DHCP server).
and here is "show arp" from switch:
;
(M4100-26G) #show arp Age Time (seconds)............................. 1200 Response Time (seconds)........................ 10 Retries........................................ 10 Cache Size..................................... 509 Dynamic Renew Mode ............................ Enable Total Entry Count Current / Peak .............. 7 / 7 Static Entry Count Configured / Active / Max .. 0 / 0 / 16 IP Address MAC Address Interface Type Age --------------- ----------------- -------------- -------- ----------- 172.16.5.1 00:11:32:72:34:B4 vlan 1 Gateway 0h 0m 19s 172.16.5.2 00:11:32:55:A3:1E vlan 1 Dynamic 0h 3m 57s 172.16.5.40 00:00:00:00:00:00 vlan 1 Dynamic 0h 0m 4s 172.16.5.41 E4:A4:71:90:95:A2 vlan 1 Dynamic 0h 0m 52s 172.16.5.254 C0:FF:D4:AC:67:98 vlan 1 Local n/a 172.16.7.2 C8:5B:76:3A:2F:ED vlan 7 Dynamic 0h 0m 4s 172.16.7.254 C0:FF:D4:AC:67:98 vlan 7 Local n/a
And if I changed static route Gateway to 172.16.7.254 for VLAN 7 I can ping gateway 172.16.5.1 and other host in VLAN1 (172.16.5.0/24) but not 172.16.5.2 (I disabled firewall on DHCP server).
chfascik
Mar 11, 2017Tutor
... error. Can ping from VLAN7 only hosts in VLAN1 which are connected to router (gateway) WiFi :( When I connect host to M4100 to VLAN 1 I can't ping it from VLAN 7
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!