Hope some of the certificated dudes can help out
I have some questions -- and -- confusion in respect of addressing , switching , trunking and routing.
I would really appreciate some direction or a config of the correct way of doing this
I have an ADSL router that I would like to attach to a Layer three switch ( the router does not have any switched ethernet add in cards so NO VLAN's on the router )
The drawback of Layer three switch is that it is not really a WAN device. It cannot do NAT / PAT or firewall ( CBAC / Zones ) and does not have WAN interfaces ( but it does have wire-speed ASICS )
I am familiar with the concept of "Router-on-a-Stick" and sub-interfaces
The Scenario
I have two subnets in private address space that need to be put into VLAN's but also need to be natted ( PAT ) and firewalled ( yes I know I need an ASA )
I would like to set one of the eth int of the router to a specific subnet ( it's IP address )
and
The other int to the other subnet ( subnet IP address )
( In essence two interface router on a stick but without trunking. I am not using the two eth interfaces for anything else )
Is there any other way of connecting a router to a layer three switch ? )
I can and have set up trunking and got that working but I am confused in respect of management VLAN's ( not needed on a Layer three if ip routing is enabled ) and the VLAN's that are going to be used for traffic.
eg
Say on the router
int fa 0/1 is configured as 192.168.10.1 ( Vlan 10 )
int fa 0/2 is configured as 192.168.20.1 ( Vlan 20 )
So the cabling of the router physical int goes to the 3550 on two separate physical ports ( fa 0/10 and fa 0/20 )
IF there are NO sub-interfaces on the eth on the router ie. trunking is not set
then
Should the ports on the 3550 be set as VLAN switched ports
or
Directly assigned routed IP addresses ( same subnet as router )
VLANs will have to be set on the 3550 so that hosts can be assigned to their respective VLAN sub-nets
ie. VLAN 10 and VLAN 20 -- these SVI's will also have to have IP addresses. ( acts as host gateway )
The problem is you cannot have an SVI ( VLAN ) in the same IP address space as a routed port
ie.
VLAN 10 is say 192.168.20.6
and
port fa 0/20 is assigned 192.168.20.3 ( to put it into the same subnet as the router )
then an error message is generated !
I surmise that if I just assign the physical ports that the connections from the router are attached to into their respective VLANS then this will all work ?
ie.
The 3550 ports are assigned as ACCESS ports in their respective VLANs ( SVI's ) ?
Inter-VLAN-Routing will be set up to take place in the 3550
----------------
The other question
Does a management interface on a layer two switch need to be in the "routed" Vlan or should it be in a seperate VLAN of its own ?
I assume that if it is in a separate / separately addressed VLAN then the ip default-gateway command will allow it to be reached from other hosts ?
Apart from confusion I am keen to know what the correct "industry-standard" way is for setting this up.
OK -- fire away and tell me I am DOF and missing what is obvious .......... ( I learn slowly )
I have some questions -- and -- confusion in respect of addressing , switching , trunking and routing.
I would really appreciate some direction or a config of the correct way of doing this
I have an ADSL router that I would like to attach to a Layer three switch ( the router does not have any switched ethernet add in cards so NO VLAN's on the router )
The drawback of Layer three switch is that it is not really a WAN device. It cannot do NAT / PAT or firewall ( CBAC / Zones ) and does not have WAN interfaces ( but it does have wire-speed ASICS )
I am familiar with the concept of "Router-on-a-Stick" and sub-interfaces
The Scenario
I have two subnets in private address space that need to be put into VLAN's but also need to be natted ( PAT ) and firewalled ( yes I know I need an ASA )
I would like to set one of the eth int of the router to a specific subnet ( it's IP address )
and
The other int to the other subnet ( subnet IP address )
( In essence two interface router on a stick but without trunking. I am not using the two eth interfaces for anything else )
Is there any other way of connecting a router to a layer three switch ? )
I can and have set up trunking and got that working but I am confused in respect of management VLAN's ( not needed on a Layer three if ip routing is enabled ) and the VLAN's that are going to be used for traffic.
eg
Say on the router
int fa 0/1 is configured as 192.168.10.1 ( Vlan 10 )
int fa 0/2 is configured as 192.168.20.1 ( Vlan 20 )
So the cabling of the router physical int goes to the 3550 on two separate physical ports ( fa 0/10 and fa 0/20 )
IF there are NO sub-interfaces on the eth on the router ie. trunking is not set
then
Should the ports on the 3550 be set as VLAN switched ports
or
Directly assigned routed IP addresses ( same subnet as router )
VLANs will have to be set on the 3550 so that hosts can be assigned to their respective VLAN sub-nets
ie. VLAN 10 and VLAN 20 -- these SVI's will also have to have IP addresses. ( acts as host gateway )
The problem is you cannot have an SVI ( VLAN ) in the same IP address space as a routed port
ie.
VLAN 10 is say 192.168.20.6
and
port fa 0/20 is assigned 192.168.20.3 ( to put it into the same subnet as the router )
then an error message is generated !
I surmise that if I just assign the physical ports that the connections from the router are attached to into their respective VLANS then this will all work ?
ie.
The 3550 ports are assigned as ACCESS ports in their respective VLANs ( SVI's ) ?
Inter-VLAN-Routing will be set up to take place in the 3550
----------------
The other question
Does a management interface on a layer two switch need to be in the "routed" Vlan or should it be in a seperate VLAN of its own ?
I assume that if it is in a separate / separately addressed VLAN then the ip default-gateway command will allow it to be reached from other hosts ?
Apart from confusion I am keen to know what the correct "industry-standard" way is for setting this up.
OK -- fire away and tell me I am DOF and missing what is obvious .......... ( I learn slowly )