[comp.dcom.sys.cisco] Multiple addresses on an interface

tsf@opus.telcom.arizona.edu (Ted Frohling) (11/10/90)

We have a need to have multiple IP networks recognized by an ethernet
interface on a cisco router.  Referring to the manual, cisco states
that you may have multiple secondary addresses on the ip address
subcommand line.  

We have tried this and it doesn't seem to work.  For instance,

ip address 128.196.250.1 255.255.255.0 128.196.252.1 128.196.254.1

results in no apparent change in the operation of the interace other
than changing the primary address.  A show interface command does not
show the secondary addresses, nor does the show interface command.

We must be doing something wrong.  Any ideas?


Ted Frohling                         tsf@arizona.edu
The University of Arizona            602.621.4834
University Telecommunications
Tucson, AZ  85721

allan@frisbee.cisco.com (Allan Leinwand) (11/10/90)

Hello Ted,

   To specify more than one interface, use the 'ip address secondary'
command as follows:

	ip address 128.196.250.1 255.255.255.0
	ip address 128.196.252.1 255.255.255.0 secondary
	ip address 128.196.254.1 255.255.255.0 secondary

Thanks,

Allan Leinwand
cisco Systems
leinwand@cisco.com

allan@frisbee.cisco.com (Allan Leinwand) (11/10/90)

Hello Ted,

   You need to use a variant of the 'ip address' command with the
'secondary' option specified.  It works as follows:

	ip address 128.196.250.1 255.255.255.0
	ip address 128.196.252.1 255.255.255.0 secondary
	ip address 128.196.254.1 255.255.255.0 secondary


Thanks,

Allan Leinwand
cisco Systems
leinwand@cisco.com