On Tue, Sep 12, 2000 at 11:22:00AM -0500, [EMAIL PROTECTED] wrote:
> 
> Greetings,
> 
> I am running 4.1-Stable.  The most recent is as of August 14th.  I have
> noticed that when adding an alias to an interface, an equivalent arp entry
> is not included.  The alias is still reachable from other systems, just
> not from the local box.
> 
> It occurs on both the i386 (using rl, fxp and xl interfaces) and the alpha
> (dc and de interfaces)
> 
> I have tried ifconfig with and without the broadcast and netmask.  The
> only option, it would seem, is to statically add an ARP entry for the
> aliased address.
> 
> I am assuming that this is not normal behavior.  Please let me know if I
> can provide any more information.

Could you actually tell us what does not work? Things seem to be fine
for me. First, I'll clear the ARP table just to make things more
clear,

  # arp -ad
  64.6.211.1 (64.6.211.1) deleted
  64.6.211.149 (64.6.211.149) deleted
  192.168.64.254 (192.168.64.254) deleted
  192.168.64.255 (192.168.64.255) deleted
  # arp -an
  ? (64.6.211.1) at 0:0:c:7:ac:1 [ethernet]

Next, I'll add an alias,

  # ifconfig de0
  de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
          inet 192.168.64.254 netmask 0xffffff00 broadcast 192.168.64.255
          ether 00:e0:29:11:d3:a9 
          media: autoselect (10base2/BNC) status: active
          supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP 
<full-duplex> 10baseT/UTP
  # ifconfig de0 alias 192.168.64.128 netmask 255.255.255.255
  # ifconfig de0
  de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
          inet 192.168.64.254 netmask 0xffffff00 broadcast 192.168.64.255
          inet 192.168.64.128 netmask 0xffffffff broadcast 192.168.64.128
          ether 00:e0:29:11:d3:a9 
          media: autoselect (10base2/BNC) status: active
          supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP 
<full-duplex> 10baseT/UTP

Now, I can reach that address just fine,

  # ping 192.168.64.128
  PING 192.168.64.128 (192.168.64.128): 56 data bytes
  64 bytes from 192.168.64.128: icmp_seq=0 ttl=255 time=0.114 ms
  64 bytes from 192.168.64.128: icmp_seq=1 ttl=255 time=0.136 ms
  64 bytes from 192.168.64.128: icmp_seq=2 ttl=255 time=0.137 ms
  64 bytes from 192.168.64.128: icmp_seq=3 ttl=255 time=0.133 ms
  ^C
  --- 192.168.64.128 ping statistics ---
  4 packets transmitted, 4 packets received, 0% packet loss
  round-trip min/avg/max/stddev = 0.114/0.130/0.137/0.009 ms

And let's look at the ARP table now,

  # arp -an
  ? (64.6.211.1) at 0:0:c:7:ac:1 [ethernet]
  ? (192.168.64.128) at 0:e0:29:11:d3:a9 permanent [ethernet]
  ? (192.168.64.255) at ff:ff:ff:ff:ff:ff permanent [ethernet]

The permanent entry for the alias showed up just fine. So again, what
is not working for you?
-- 
Crist J. Clark                           [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to