Date: Mon, 10 Aug 1998 17:27:26 GMT From: steven@shellnet.co.uk (Steven Fletcher) To: freebsd-questions@FreeBSD.ORG Subject: ifconfig difficulties Message-ID: <35d22bad.6159997@smtp.shellnet.co.uk>
next in thread | raw e-mail | index | archive | help
Hello all.
I've been using ifconfig for a long time to alias IP addresses to my
network card. The command I use is:
ifconfig de0 inet <IP alias address> alias
And then I am able to ping this IP address from any computer on our
network and any external computer. However, if the aliased IP is on
our first class-c, the same class-c block as the base IP is on, I
cannot ping the IP - I recive a "sendto: Host is down" error.
But, if the aliased ip is not on the same class-c as the base ip,
pings are successfull.
example:
ifconfig de0 shows:
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 194.129.209.11 netmask 0xffffff00 broadcast 194.129.209.255
inet 194.128.147.15 netmask 0xffffff00 broadcast 194.128.147.255
inet 194.129.209.19 netmask 0xffffff00 broadcast 194.129.209.255
ether 00:c0:f0:16:1e:4c
media: autoselect (10baseT/UTP) status: active
I telnet into the box (194.129.209.11 is the base IP) and I am able to
ping 194.128.147.15. But if i ping 194.129.209.19, I have no such
luck.
Would anyone be able to give the the likley cause of the error or what
perhaps I am doing wrong here?
TIA,
-Steven Fletcher (steven@shellnet.co.uk)
Shellnet - http://www.shellnet.com/
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?35d22bad.6159997>
