Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

3750 and communication with internet for vlans

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 ?

17 REPLIES

Re: 3750 and communication with internet for vlans

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>

New Member

Re: 3750 and communication with internet for vlans

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 ??

Re: 3750 and communication with internet for vlans

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.

New Member

Re: 3750 and communication with internet for vlans

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

Re: 3750 and communication with internet for vlans

Your switch config is 100% incorrect.

Post for review.

New Member

Re: 3750 and communication with internet for vlans

I don't understand I have everything what you wrote the same !!!

Re: 3750 and communication with internet for vlans

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?

New Member

Re: 3750 and communication with internet for vlans

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

Re: 3750 and communication with internet for vlans

post the output of "show ip int brief"

New Member

Re: 3750 and communication with internet for vlans

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

New Member

Re: 3750 and communication with internet for vlans

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

New Member

Re: 3750 and communication with internet for vlans

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

New Member

Re: 3750 and communication with internet for vlans

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#

Re: 3750 and communication with internet for vlans

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.

New Member

Re: 3750 and communication with internet for vlans

Default gateway is 192.168.1.1

Ip computer- wrote 10.0.88.5/gateway 10.0.88.1 for 10.0.88.0 (vlan88) with SVI 10.0.88.1

What else ?

Re: 3750 and communication with internet for vlans

the switch ports need to be layer 2 ports, and in the correct vlan

New Member

Re: 3750 and communication with internet for vlans

this is not work with with 2 layer only... with SVI too... maybe routed port-with IP outside vlan(on the exterior port of switch) is neccesary to which will be routing ?!

280
Views
8
Helpful
17
Replies
CreatePlease to create content