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

secondary IP address and routing

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
Hall of Fame Super Blue

Re: secondary IP address and routing

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

Community Member

Re: secondary IP address and routing

Thanks Jon,  Router on a stick works great.

671
Views
5
Helpful
2
Replies
CreatePlease to create content