Date: Sun, 27 Aug 1995 13:03:06 -0400 From: dennis@et.htp.com (dennis) To: John Capo <jc@irbs.com> Cc: hackers@freebsd.org Subject: Re: alias ( secondary IP ) for Ethernet Ifaces in FreeBSD Message-ID: <199508271703.NAA19486@mail.htp.com>
next in thread | raw e-mail | index | archive | help
John Capo writes.. >> >> For example , I have ep0 iface and I want to assign the >> >> secondary( alias) IP address to it . >> >> What command should be issued ? >> >> >> >> ifconfig ep0 alias 199.199.199.22 >> > >> >> I've read several messages in this thread and can't get it to work. >> SOMETHING shows up with netstat -in but I can't ping it. I've tried >> >> >> ifconfig ed0 204.141.95.2 alias (This takes but doesn't work) >> >> and >> >> ifconfig ed0 alias 204.141.95.2 (I get "File Exists" here) >> > >Try ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff > This still doesn't work. When I do it, I can ping the primary address but not the secondary. If I try to ping the secondary address the machine sends an ARP. What should the route look like (in netstat/ifconfig) if it works? db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508271703.NAA19486>