Date: Wed, 28 Oct 1998 10:31:00 +0100 From: Pierre OUEDRAOGO <Pierre.Ouedraogo@francophonie.org> To: freebsd-questions@FreeBSD.ORG Cc: Chetanand <Chetanand.Bhaugeerutty@francophonie.org>, "cormierl@francophonie.org" <cormierl@francophonie.org> Subject: Ethernet aliases Message-ID: <3636E453.538F867C@francophonie.org>
next in thread | raw e-mail | index | archive | help
I'm trying to set an alias on an eth card to add a new IP address block
(mask 255.255.255.224), I type the following command line from Freebsd
FAQ, and I got no error message. The ifconfig -a didn't show whether the
alias is OK or not.
Can somebody give a help?
Thanks
Pierre OUEDRAOGO
agecop# ifconfig ed0 alias 194.199.57.65 netmask 0xffffffff
agecop# ifconfig -a
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
inet 194.199.57.129 netmask 0xffffff80 broadcast 194.199.57.255
ether 00:40:05:1e:fb:62
ed1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
inet 194.199.57.2 netmask 0xffffff80 broadcast 194.199.57.127
ether 00:00:c0:c8:c4:95
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
agecop# ifconfig -au
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
inet 194.199.57.129 netmask 0xffffff80 broadcast 194.199.57.255
ether 00:40:05:1e:fb:62
ed1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
inet 194.199.57.2 netmask 0xffffff80 broadcast 194.199.57.127
ether 00:00:c0:c8:c4:95
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
agecop#
--
-----------------------------------------------------------------
Pierre OUEDRAOGO tel: (33) 05 56 01 59 00
Centre Serveur ACCT fax: (33) 05 56 51 78 49
DDTI Pierre.Ouedraogo@Francophonie.org
Agence de la Francophonie http://www.francophonie.org
EIF/DDTI - 15 Quai Louis XVIII, 33000, Bordeaux, France
-----------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3636E453.538F867C>
