03-20-2009 05:54 AM - edited 03-06-2019 04:43 AM
1.Can somebody write what to do to connect vlans to internet ?
I have stack and working vlans 1 conecting by cable to gateway/dhcp on one PC/server with linux ... and vlan 88 and 99 with SVI. How to relay dhcp to this computers ? I understand That i must do 3 layer port connected do gateway.... and route vlans to this port ?
2.Why in one vlan with computer with static IP (with good IP) i can't ping SVI ?
03-20-2009 06:06 AM
On the SVI for VLANS 88 & 89 configure "ip helper-address x.x.x.x"
x.x.x.x is the IP of the DHCP server. The DHCP server must have a scope of addresses in the same IP subnet as the vlans.
You must configure a default IP route to the gateway for machines to be able to connect to the internet.
HTH>
03-20-2009 06:14 AM
I have static IP and with static IP and my computer don't work with default gateway - I understand that default gateway is for all ports on the switch not for vlan ??
03-20-2009 06:34 AM
No.
Your switch should have an SVI in a vlan.
Your PC should have an IP address in the same range as the SVI.
Your PC should have a default Gateway of the SVI
Your Switch should have a default route pointing to the Internet Gateway.
What is your current IP addressing structure.
03-20-2009 06:41 AM
vlan 88
SVI =10.0.88.1
comp IP=10.0.88.5
gateway 10.0.88.1
switch
default gateway for switch 192.168.1.1 (192.168.1.215 is SVI for vlan 1; vlan 1 is connected to gateway)
everywhere mask 24
this configuration not work for vlan 88
03-20-2009 06:49 AM
Your switch config is 100% incorrect.
Post for review.
03-20-2009 06:59 AM
I don't understand I have everything what you wrote the same !!!
03-20-2009 07:16 AM
Are you using IP routing? Have you configured the default static route?
Or have you turned IP routing off and are using the default-network statement?
03-20-2009 07:54 AM
Switch#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 3 subnets
S 10.0.0.0 [1/0] via 192.168.1.2
[1/0] via 192.168.1.1
[1/0] via 192.168.1.0
C 10.0.88.0 is directly connected, Vlan88
C 10.0.99.0 is directly connected, Vlan99
C 192.168.1.0/24 is directly connected, Vlan1
S* 0.0.0.0/0 [1/0] via 192.168.1.1
Switch#
I turned ip route I think and gave route static 0.0.0.0 0.0.0.0 to internet gateway
03-20-2009 08:03 AM
post the output of "show ip int brief"
03-22-2009 11:49 PM
Switch#sh ip int br
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.1.215 YES manual up up
Vlan88 10.0.88.1 YES manual up up
Vlan99 10.0.99.1 YES manual up up
GigabitEthernet1/0/1 unassigned YES unset down down
GigabitEthernet1/0/2 unassigned YES unset down down
GigabitEthernet1/0/3 unassigned YES unset down down
GigabitEthernet1/0/4 unassigned YES unset down down
GigabitEthernet1/0/5 unassigned YES unset down down
GigabitEthernet1/0/6 unassigned YES unset up up
GigabitEthernet1/0/7 unassigned YES unset down down
GigabitEthernet1/0/8 unassigned YES unset up up
GigabitEthernet1/0/9 unassigned YES unset down down
GigabitEthernet1/0/10 unassigned YES unset down down
GigabitEthernet1/0/11 unassigned YES unset down down
GigabitEthernet1/0/12 unassigned YES unset up up
GigabitEthernet1/0/13 unassigned YES unset down down
GigabitEthernet1/0/14 unassigned YES unset up up
GigabitEthernet1/0/15 unassigned YES unset down down
GigabitEthernet1/0/16 unassigned YES unset down down
GigabitEthernet1/0/17 unassigned YES unset up up
GigabitEthernet1/0/18 unassigned YES unset down down
GigabitEthernet1/0/19 unassigned YES unset up up
GigabitEthernet1/0/20 unassigned YES unset down down
GigabitEthernet1/0/21 unassigned YES unset up up
GigabitEthernet1/0/22 unassigned YES unset down down
GigabitEthernet1/0/23 unassigned YES unset up up
GigabitEthernet1/0/24 unassigned YES unset up up
GigabitEthernet1/0/25 unassigned YES unset down down
GigabitEthernet1/0/26 unassigned YES unset down down
GigabitEthernet1/0/27 unassigned YES unset down down
GigabitEthernet1/0/28 unassigned YES unset down down
FastEthernet2/0/1 unassigned YES unset down down
FastEthernet2/0/2 unassigned YES unset up up
FastEthernet2/0/3 unassigned YES unset up up
FastEthernet2/0/4 unassigned YES unset down down
FastEthernet2/0/5 unassigned YES unset up up
FastEthernet2/0/6 unassigned YES unset up up
FastEthernet2/0/7 unassigned YES unset up up
FastEthernet2/0/8 unassigned YES unset down down
FastEthernet2/0/9 unassigned YES unset up up
FastEthernet2/0/10 unassigned YES unset up up
FastEthernet2/0/11 unassigned YES unset up up
FastEthernet2/0/12 unassigned YES unset up up
FastEthernet2/0/13 unassigned YES unset down down
FastEthernet2/0/14 unassigned YES unset down down
FastEthernet2/0/15 unassigned YES unset down down
FastEthernet2/0/16 unassigned YES unset down down
FastEthernet2/0/17 unassigned YES unset up up
FastEthernet2/0/18 unassigned YES unset down down
FastEthernet2/0/19 unassigned YES unset down down
FastEthernet2/0/20 unassigned YES unset up up
03-22-2009 11:50 PM
FastEthernet2/0/20 unassigned YES unset up up
FastEthernet2/0/21 unassigned YES unset up up
FastEthernet2/0/22 unassigned YES unset up up
FastEthernet2/0/23 unassigned YES unset up up
FastEthernet2/0/24 unassigned YES unset up up
FastEthernet2/0/25 unassigned YES unset up up
FastEthernet2/0/26 unassigned YES unset up up
FastEthernet2/0/27 unassigned YES unset up up
FastEthernet2/0/28 unassigned YES unset up up
FastEthernet2/0/29 unassigned YES unset up up
FastEthernet2/0/30 unassigned YES unset up up
FastEthernet2/0/31 unassigned YES unset up up
FastEthernet2/0/32 unassigned YES unset down down
FastEthernet2/0/33 unassigned YES unset up up
FastEthernet2/0/34 unassigned YES unset up up
FastEthernet2/0/35 unassigned YES unset up up
FastEthernet2/0/36 unassigned YES unset up up
FastEthernet2/0/37 unassigned YES unset up up
FastEthernet2/0/38 unassigned YES unset up up
FastEthernet2/0/39 unassigned YES unset up up
FastEthernet2/0/40 unassigned YES unset down down
FastEthernet2/0/41 unassigned YES unset down down
FastEthernet2/0/42 unassigned YES unset up up
FastEthernet2/0/43 unassigned YES unset up up
FastEthernet2/0/44 unassigned YES unset down down
FastEthernet2/0/45 unassigned YES unset down down
FastEthernet2/0/46 unassigned YES unset down down
FastEthernet2/0/47 unassigned YES unset down down
FastEthernet2/0/48 unassigned YES unset down down
GigabitEthernet2/0/1 unassigned YES unset down down
GigabitEthernet2/0/2 unassigned YES unset down down
GigabitEthernet2/0/3 unassigned YES unset down down
GigabitEthernet2/0/4 unassigned YES unset down down
03-22-2009 11:51 PM
FastEthernet3/0/1 unassigned YES unset up up
FastEthernet3/0/2 unassigned YES unset down down
FastEthernet3/0/3 unassigned YES unset down down
FastEthernet3/0/4 unassigned YES unset up up
FastEthernet3/0/5 unassigned YES unset up up
FastEthernet3/0/6 unassigned YES unset down down
FastEthernet3/0/7 unassigned YES unset down down
FastEthernet3/0/8 unassigned YES unset down down
FastEthernet3/0/9 unassigned YES unset up up
FastEthernet3/0/10 unassigned YES unset down down
FastEthernet3/0/11 unassigned YES unset up up
FastEthernet3/0/12 unassigned YES unset down down
FastEthernet3/0/13 unassigned YES unset down down
FastEthernet3/0/14 unassigned YES unset down down
FastEthernet3/0/15 unassigned YES unset down down
FastEthernet3/0/16 unassigned YES unset down down
FastEthernet3/0/17 unassigned YES unset up up
FastEthernet3/0/18 unassigned YES unset down down
FastEthernet3/0/19 unassigned YES unset down down
FastEthernet3/0/20 unassigned YES unset down down
FastEthernet3/0/21 unassigned YES unset down down
FastEthernet3/0/22 unassigned YES unset down down
FastEthernet3/0/23 unassigned YES unset down down
FastEthernet3/0/24 unassigned YES unset down down
FastEthernet3/0/25 unassigned YES unset down down
FastEthernet3/0/26 unassigned YES unset down down
FastEthernet3/0/27 unassigned YES unset down down
FastEthernet3/0/28 unassigned YES unset down down
FastEthernet3/0/29 unassigned YES unset down down
FastEthernet3/0/30 unassigned YES unset down down
FastEthernet3/0/31 unassigned YES unset down down
FastEthernet3/0/32 unassigned YES unset down down
FastEthernet3/0/33 unassigned YES unset down down
FastEthernet3/0/34 unassigned YES unset down down
FastEthernet3/0/35 unassigned YES unset down down
FastEthernet3/0/36 unassigned YES unset up up
FastEthernet3/0/37 unassigned YES unset up up
FastEthernet3/0/38 unassigned YES unset down down
FastEthernet3/0/39 unassigned YES unset up up
FastEthernet3/0/40 unassigned YES unset down down
FastEthernet3/0/41 unassigned YES unset up up
FastEthernet3/0/42 unassigned YES unset down down
FastEthernet3/0/43 unassigned YES unset up up
FastEthernet3/0/44 unassigned YES unset down down
FastEthernet3/0/45 unassigned YES unset up up
FastEthernet3/0/46 unassigned YES unset down down
FastEthernet3/0/47 unassigned YES unset up up
FastEthernet3/0/48 unassigned YES unset down down
03-22-2009 11:51 PM
GigabitEthernet3/0/1 unassigned YES unset down down
GigabitEthernet3/0/2 unassigned YES unset down down
GigabitEthernet3/0/3 unassigned YES unset down down
GigabitEthernet3/0/4 unassigned YES unset down down
GigabitEthernet4/0/1 unassigned YES unset up up
GigabitEthernet4/0/2 unassigned YES unset up up
GigabitEthernet4/0/3 unassigned YES unset down down
GigabitEthernet4/0/4 unassigned YES unset up up
GigabitEthernet4/0/5 unassigned YES unset up up
GigabitEthernet4/0/6 unassigned YES unset up up
GigabitEthernet4/0/7 unassigned YES unset up up
GigabitEthernet4/0/8 unassigned YES unset up up
GigabitEthernet4/0/9 unassigned YES unset up up
GigabitEthernet4/0/10 unassigned YES unset up up
GigabitEthernet4/0/11 unassigned YES unset down down
GigabitEthernet4/0/12 unassigned YES unset up up
GigabitEthernet4/0/13 unassigned YES unset down down
GigabitEthernet4/0/14 unassigned YES unset up up
GigabitEthernet4/0/15 unassigned YES unset up up
GigabitEthernet4/0/16 unassigned YES unset up up
GigabitEthernet4/0/17 unassigned YES unset up up
GigabitEthernet4/0/18 unassigned YES unset down down
GigabitEthernet4/0/19 unassigned YES unset up up
GigabitEthernet4/0/20 unassigned YES unset down down
GigabitEthernet4/0/21 unassigned YES unset up up
GigabitEthernet4/0/22 unassigned YES unset up up
GigabitEthernet4/0/23 unassigned YES unset down down
GigabitEthernet4/0/24 unassigned YES unset up up
GigabitEthernet4/0/25 unassigned YES unset down down
GigabitEthernet4/0/26 unassigned YES unset down down
GigabitEthernet4/0/27 unassigned YES unset down down
GigabitEthernet4/0/28 unassigned YES unset down down
Switch#
03-23-2009 01:59 AM
You should make sure that the machines on the VLANs have a default gateway of the above IP address
You should also make sure that the switch ports are in the correct VLAN's.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: