cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2319
Views
5
Helpful
6
Replies

Inter Vlan Routing - WAN Access

as00001111
Level 1
Level 1

Hi,

I have a Catalyst 6506 who is configured for routing.

For each Vlan an SVI exists.

the routing between vlans works.

But how do I establish an Internet Access for all vlans?

It is clear that I need a router who has an connection to the internet.

But how do I connect it, and what ip address should he have?

Thanks in advance.

1 Accepted Solution

Accepted Solutions

guanli0830
Level 1
Level 1

First,Connect the Router to a switch port of  Catalyst 6506 with ACCESS mode

Second,create a SVI and config an IP to the SVI,then make the switch port  which connect to router belong to the SVI.

Finally, configure the default route "ip route 0.0.0.0 0.0.0.0 the ip of router port" in Catalyst 6506.

 

FOR EXAMPLE: Router f0/1 connect to Catalyst 6506 f0/1

Catalyst 6506:

vlan 10

 exit

int vlan 10

 ip add 12.12.12.1 255.255.255.252

 exit

int f0/1

 sw mode access

 sw access vlan 10

exit

ip route 0.0.0.0 0.0.0.0 12.12.12.2

 

Router:

int f0/1

 ip add 12.12.12.2 255.255.255.252

 exit

ip route x.x.x.x x.x.x.x 12.12.12.1 (x.x.x.x is the network of end user)

 

OR YOU CAN USE THE COMMAND "NO SWITCHPORT" TO MAKE THE SWITCHPORT ROUTING PORT, THEN YOU CAN CONFIG IP ADDRESS IN THE PORT WITHOUT SVI

 

View solution in original post

6 Replies 6

ashok_boin
Level 5
Level 5

Connect the Router to a switch port through a SVI. 

All clients default gateway is VLAN specific SVI IP. And, configure the default in 6506 to Routers IP address.

Regards...

Ashok.


With best regards...
Ashok

configure the default gateway of the C6506 to the routers ip?

 

Do I not have to set the ip route 0.0.0.0 0.0.0.0 %Routers IP%  ?

You need a connection to your carriers router with an IP address on the interface or on an SVI.

You then add a defaul route to the IP address of the carrier router. (Not the one on your router)

Please also consider, if you have private IP addresses, you or the carrier needs to enable NAT for it.

I would strongly recommend you to use a firewall between your network and the carrier. For NAT and filtering.

 

Regards,

Markus

This discussion has been reposted from Additional Communities to the WAN, Routing and Switching community.

guanli0830
Level 1
Level 1

First,Connect the Router to a switch port of  Catalyst 6506 with ACCESS mode

Second,create a SVI and config an IP to the SVI,then make the switch port  which connect to router belong to the SVI.

Finally, configure the default route "ip route 0.0.0.0 0.0.0.0 the ip of router port" in Catalyst 6506.

 

FOR EXAMPLE: Router f0/1 connect to Catalyst 6506 f0/1

Catalyst 6506:

vlan 10

 exit

int vlan 10

 ip add 12.12.12.1 255.255.255.252

 exit

int f0/1

 sw mode access

 sw access vlan 10

exit

ip route 0.0.0.0 0.0.0.0 12.12.12.2

 

Router:

int f0/1

 ip add 12.12.12.2 255.255.255.252

 exit

ip route x.x.x.x x.x.x.x 12.12.12.1 (x.x.x.x is the network of end user)

 

OR YOU CAN USE THE COMMAND "NO SWITCHPORT" TO MAKE THE SWITCHPORT ROUTING PORT, THEN YOU CAN CONFIG IP ADDRESS IN THE PORT WITHOUT SVI

 

That is an great answer. Thanks a lot!