ADD Ip adress + subnetmask in config file.

Jun 25, 2007 1 Replies

I habve a small problem



This is a piece of config file: interface Ethernet0 ip address 10.145.112.81 255.255.255.240 secondary ip address 10.176.26.1 255.255.254.0


I need to add this line above the other ip lines. ip address 10.37.15.1 255.255.255.0 secondary interface Ethernet0 ip address 10.37.15.1 255.255.255.0 secondary ip address 10.145.112.81 255.255.255.240 secondary ip address 10.176.26.1 255.255.254.0



How can I change that



I would suggest 'no-ing' all the statements, and adding them back in if you absolutely must have it listed first, but it should work regardless of where it is in the list. IP addresses are not like access-lists and your router should have no problem regardless of the order.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required