cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1167
Views
5
Helpful
2
Replies

secondary IP address and routing

jondudding
Level 1
Level 1

2651XM eth0 configured with IP address (10.1.1.1/24), secondary IP address (172.16.1.1/24) and connected to fa0/1 on a 3750

3750 has int VLAN100 (10.1.1.2) and VLAN 200 (172.16.1.0/24) but without an SVI.  The only way I can get any connectivity is to configure fa0/1 with 'switchport access vlan 200'.  With that in place, from the switch I can ping both router IP addresses.  Workstations on VLAN100 can ping their default gw but cannot ping anything on VLAN200 (servers). Needless to say anything on VLAN200 subnet can't ping the default gw.

Am I doing something wrong?

I would like to be able to route traffic between both subnets using both IP addresses on the 2651 as the default gateways.

The 2651 is provider controlled so getting changes done to it is time consuming.  Getting it to work with this config is desirable but it can be changed if necessary.

Tks

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

Jon

If you have the clients in separate vlans then you should use routing on a stick rather than secondary IP addressing. Secondary IP addressing would be more useful if all clients were in 1 vlan but you wanted them to use different IP subnets.

Have a look at this config example, you will need a minimum of IP Plus feature set on your router -

802.1q router on a stick

Jon

Thanks Jon,  Router on a stick works great.

Getting Started

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: