06-30-2015 04:01 AM - edited 03-05-2019 01:46 AM
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.
Solved! Go to Solution.
07-02-2015 12:42 AM
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
06-30-2015 04:22 AM
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.
06-30-2015 04:48 AM
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% ?
06-30-2015 08:52 AM
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
07-07-2015 03:15 PM
This discussion has been reposted from Additional Communities to the WAN, Routing and Switching community.
07-02-2015 12:42 AM
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
07-02-2015 12:51 AM
That is an great answer. Thanks a lot!
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