10-16-2012 02:04 AM - edited 03-07-2019 09:29 AM
Hi everyone,
i have created two vlans,
vlan 1 data and vlan 200 voice. the issue is that when an on one vlan i cannot ping the default gateway of the othe vlan from my PC.
an using sge 2010p switches.
below is my configuration
p route 0.0.0.0 0.0.0.0 192.168.0.1
ip dhcp relay address 192.168.0.100
ip dhcp relay enable
ip dhcp information option
interface vlan 1
ip dhcp relay enable
exit
interface vlan 200
ip dhcp relay enable
exit
interface range ethernet g(2-46,48)
ip dhcp relay enable
exit
any one pliz assist.
10-16-2012 02:13 AM
is it a layer 3 switch orlayer 2????
please check the ports, that should be in right vlan.
can u pasterur config.
Regards
10-16-2012 02:25 AM
it a layer 3. from the switch i can pingg both 192.168.0.11 and 10.0.1.1.
please chech and advise coz 1 want the ports to be on both vlans
below is my config.
CORE# sh run
no spanning-tree
spanning-tree mode rstp
interface range ethernet g(2-46,48)
switchport mode trunk
exit
vlan database
vlan 200
exit
interface range ethernet g(2-46,48)
switchport trunk allowed vlan add 200
exit
ip dhcp snooping vlan 1
ip dhcp snooping vlan 200
interface ethernet g2
ip dhcp snooping trust
exit
interface vlan 1
ip address 192.168.0.11 255.255.255.0
exit
interface vlan 200
ip address 10.0.1.1 255.255.255.0
exit
p route 0.0.0.0 0.0.0.0 192.168.0.1
ip dhcp relay address 192.168.0.100
ip dhcp relay enable
ip dhcp information option
interface vlan 1
ip dhcp relay enable
exit
interface vlan 200
ip dhcp relay enable
exit
interface range ethernet g(2-46,48)
ip dhcp relay enable
exit
10-16-2012 02:47 AM
i couldnt find the error in the config .
can you please remove this dhcp config setting and manually assign the ip to PCs and then try .
just see if yor are right or :
1. Put switch in layer3 mode via telnet or console, then reset the switch so that it takes affect.
2. Created 2 VLANs (e.g. 1 and 200 in the Bridging section of the webconfig.
3. Assigned an IP address to each VLAN e.g. VLAN 1 = xxx.xxx.xxx.1/24 and VLAN 200 yyy.yyy.yyy.1 /24 in the ipv4 configuration section of webconfig
4. Joined several ports to each VLAN.
5. Set up all NICs on VLAN 1 that I want to communication with VLAN 200 with xxx.xxx.xxx.* /24 addresses and a default gateway of xxx.xxx.xxx.1 VLAN 1 IP address)
6. Set up all NICs on VLAN 200 that I want to communication with VLAN 1 with yyy.yyy.yyy.* /24 addresses and a default gateway of yyy.yyy.yyy.1 (VLAN 200 IP address)
or
Are you getting ip address in diff vlan by DHCP ???
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide