Colby

This user hasn't shared any biographical information


Posts by Colby

Secondary IP Addresses

This is going to be a short post. I feel guilty for neglecting my blog (stupid ITIL), so I’m throwing this one together real quick.

There was a thread on Tech Exams recently, the poster was trying to figure out how to connect two subnets to a single Ethernet interface on a router. This was due to changing the address scheme within his company. Here’s what it looked like:

Very simple topology. The PC is part of the new address scheme and the printer is using a static IP from the old scheme. One of the easiest solutions here is to use a secondary IP on the Fa0/0 interface of R1. Here’s how it works:

EDGE(config)#int fa0/0
EDGE(config-if)#ip add 192.168.10.1 255.255.255.0
EDGE(config-if)#ip add 10.1.1.1 255.255.255.0 secondary

Very simple commands. Let’s verify:

interface FastEthernet0/0
 ip address 10.1.1.1 255.255.255.0 secondary
 ip address 192.168.10.1 255.255.255.0

It worked, the interface now has two IPs. Now we would just configure the IPs on the hosts (or DHCP server) using the proper subnet and gateway. Once the hosts are configured, everything will work as desired.