Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 14:31:03 -0700 (PDT)
From:      <keith@mail.telestream.com>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: arp errors
Message-ID:  <Pine.LNX.4.10.10007031410590.6660-300000@mail.telestream.com>
In-Reply-To: <20000703211931.D48373@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Ok, I've attached files of the output since it's quite a spew of data.
It is a remote machine so I can't shut down routed to get the ifconfig and
netstat with routed not up. And there are substantialy more aliases then
I'd first stated as well, 45. I hope this is gives some clue.
Thanks for the time.

Keith


=================================
Keith W.

At the helm <for better or worse>
=================================


On Mon, 3 Jul 2000, Ben Smithurst wrote:

> keith@mail.telestream.com wrote:
> 
> > I have a machine setup and on the net. It has 20 aliases on the NIC and
> > all seems to be just fine with one exception. It would not come up on the
> > net without having routed running. I've never had a problem in the past
> > with just configuring rc.conf and putting a script in /usr/local/etc/rc.d
> > for the aliases so this is a source of major confussion for me.
> > The aliases aren't really at issue because it would not even come up live
> > without the aliases there. 
> 
> First, whenever you post a network question, it's a good idea to include
> at least the output of 'netstat -rn' and 'ifconfig -a'.
> 
> > /etc/rc.conf
> > ifconfig_xl0="inet 63.169.99.87 netmask 255.255.255.0"
> > defaultrouter="63.169.99.1"
> > network_interfaces="xl0 lo0"
> > hostname="bsd.mcfarlandis.com"
> > 
> > /usr/local/etc/rc.d/ifconfig-up.sh
> > /sbin/ifconfig xl0 inet 63.169.99.15 netmask 255.255.255.255 alias
> > 
> > With a bunch of the same lines in the script for each alias.
> > At the end of the script I tossed in routed. 
> > /sbin/routed
> 
> well, that's fine, I suppose, but the recommended way of setting up aliases
> is in /etc/rc.conf:
> 
> ifconfig_xl0_alias0="inet 63.169.99.15 netmask 255.255.255.255"
> ifconfig_xl0_alias1=" ... "
> 
> and so on.  And if you want to run routed, routed_enable=YES in rc.conf
> is the way to do.  This probably isn't causing your problem though, once
> you've posted the output of the commands I mentioned above people might
> have an idea.
> 
> -- 
> Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D
> 

[-- Attachment #2 --]
# ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 63.169.99.87 netmask 0xffffff00 broadcast 63.169.99.255
        inet6 fe80::250:4ff:fece:e70f%xl0 prefixlen 64 scopeid 0x1 
        inet 63.169.99.15 netmask 0xffffffff broadcast 63.169.99.15
        inet 63.169.99.88 netmask 0xffffffff broadcast 63.169.99.88
        inet 63.169.99.89 netmask 0xffffffff broadcast 63.169.99.89
        inet 63.169.99.99 netmask 0xffffffff broadcast 63.169.99.99
        inet 63.169.99.100 netmask 0xffffffff broadcast 63.169.99.100
        inet 63.169.99.101 netmask 0xffffffff broadcast 63.169.99.101
        inet 63.169.99.102 netmask 0xffffffff broadcast 63.169.99.102
        inet 63.169.99.103 netmask 0xffffffff broadcast 63.169.99.103
        inet 63.169.99.104 netmask 0xffffffff broadcast 63.169.99.104
        inet 63.169.99.105 netmask 0xffffffff broadcast 63.169.99.105
        inet 63.169.99.106 netmask 0xffffffff broadcast 63.169.99.106
        inet 63.169.99.107 netmask 0xffffffff broadcast 63.169.99.107
        inet 63.169.99.108 netmask 0xffffffff broadcast 63.169.99.108
        inet 63.169.99.109 netmask 0xffffffff broadcast 63.169.99.109
        inet 63.169.99.110 netmask 0xffffffff broadcast 63.169.99.110
        inet 63.169.99.111 netmask 0xffffffff broadcast 63.169.99.111
        inet 63.169.99.112 netmask 0xffffffff broadcast 63.169.99.112
        inet 63.169.99.113 netmask 0xffffffff broadcast 63.169.99.113
        inet 63.169.99.114 netmask 0xffffffff broadcast 63.169.99.114
        inet 63.169.99.115 netmask 0xffffffff broadcast 63.169.99.115
        inet 63.169.99.116 netmask 0xffffffff broadcast 63.169.99.116
        inet 63.169.99.117 netmask 0xffffffff broadcast 63.169.99.117
        inet 63.169.99.118 netmask 0xffffffff broadcast 63.169.99.118
        inet 63.169.99.119 netmask 0xffffffff broadcast 63.169.99.119
        inet 63.169.99.120 netmask 0xffffffff broadcast 63.169.99.120
        inet 63.169.99.121 netmask 0xffffffff broadcast 63.169.99.121
        inet 63.169.99.122 netmask 0xffffffff broadcast 63.169.99.122
        inet 63.169.99.123 netmask 0xffffffff broadcast 63.169.99.123
        inet 63.169.99.124 netmask 0xffffffff broadcast 63.169.99.124
        inet 63.169.99.125 netmask 0xffffffff broadcast 63.169.99.125
        inet 63.169.99.126 netmask 0xffffffff broadcast 63.169.99.126
        inet 63.169.99.127 netmask 0xffffffff broadcast 63.169.99.127
        inet 63.169.99.128 netmask 0xffffffff broadcast 63.169.99.128
        inet 63.169.99.129 netmask 0xffffffff broadcast 63.169.99.129
        inet 63.169.99.130 netmask 0xffffffff broadcast 63.169.99.130
        inet 63.169.99.131 netmask 0xffffffff broadcast 63.169.99.131
        inet 63.169.99.132 netmask 0xffffffff broadcast 63.169.99.132
        inet 63.169.99.133 netmask 0xffffffff broadcast 63.169.99.133
        inet 63.169.99.134 netmask 0xffffffff broadcast 63.169.99.134
        inet 63.169.99.135 netmask 0xffffffff broadcast 63.169.99.135
        inet 63.169.99.136 netmask 0xffffffff broadcast 63.169.99.136
        inet 63.169.99.137 netmask 0xffffffff broadcast 63.169.99.137
        inet 63.169.99.138 netmask 0xffffffff broadcast 63.169.99.138
        inet 63.169.99.143 netmask 0xffffffff broadcast 63.169.99.143
        inet 63.169.99.145 netmask 0xffffffff broadcast 63.169.99.145
        ether 00:50:04:ce:e7:0f 
        media: 10baseT/UTP (10baseT/UTP <half-duplex>)
        supported media: 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::250:4ff:fece:e70f%gif0 prefixlen 64 scopeid 0x6 
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::250:4ff:fece:e70f%gif1 prefixlen 64 scopeid 0x7 
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::250:4ff:fece:e70f%gif2 prefixlen 64 scopeid 0x8 
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::250:4ff:fece:e70f%gif3 prefixlen 64 scopeid 0x9 
stf0: flags=8000<MULTICAST> mtu 1280
        inet6 fe80::250:4ff:fece:e70f%stf0 prefixlen 64 scopeid 0xa 
faith0: flags=8000<MULTICAST> mtu 1500

[-- Attachment #3 --]
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            63.169.99.1        UGSc       70     4301      xl0
63.169.99/24       link#1             UCc         2        0      xl0 =>
63.169.99.15       63.169.99.15       UHLW        0     9236      lo0 =>
63.169.99.15/32    link#1             UC          0        0      xl0 =>
63.169.99.88/32    link#1             UC          0        0      xl0 =>
63.169.99.89/32    link#1             UC          0        0      xl0 =>
63.169.99.99/32    link#1             UC          0        0      xl0 =>
63.169.99.100/32   link#1             UC          0        0      xl0 =>
63.169.99.101/32   link#1             UC          0        0      xl0 =>
63.169.99.102/32   link#1             UC          0        0      xl0 =>
63.169.99.103/32   link#1             UC          0        0      xl0 =>
63.169.99.104/32   link#1             UC          0        0      xl0 =>
63.169.99.105/32   link#1             UC          0        0      xl0 =>
63.169.99.106/32   link#1             UC          0        0      xl0 =>
63.169.99.107/32   link#1             UC          0        0      xl0 =>
63.169.99.108/32   link#1             UC          0        0      xl0 =>
63.169.99.109/32   link#1             UC          0        0      xl0 =>
63.169.99.110/32   link#1             UC          0        0      xl0 =>
63.169.99.111/32   link#1             UC          0        0      xl0 =>
63.169.99.112/32   link#1             UC          0        0      xl0 =>
63.169.99.113/32   link#1             UC          0        0      xl0 =>
63.169.99.114/32   link#1             UC          0        0      xl0 =>
63.169.99.115/32   link#1             UC          0        0      xl0 =>
63.169.99.116/32   link#1             UC          0        0      xl0 =>
63.169.99.117/32   link#1             UC          0        0      xl0 =>
63.169.99.118/32   link#1             UC          0        0      xl0 =>
63.169.99.119/32   link#1             UC          0        0      xl0 =>
63.169.99.120/32   link#1             UC          0        0      xl0 =>
63.169.99.121/32   link#1             UC          0        0      xl0 =>
63.169.99.122/32   link#1             UC          0        0      xl0 =>
63.169.99.123/32   link#1             UC          0        0      xl0 =>
63.169.99.124/32   link#1             UC          0        0      xl0 =>
63.169.99.125/32   link#1             UC          0        0      xl0 =>
63.169.99.126/32   link#1             UC          0        0      xl0 =>
63.169.99.127/32   link#1             UC          0        0      xl0 =>
63.169.99.128/32   link#1             UC          0        0      xl0 =>
63.169.99.129/32   link#1             UC          0        0      xl0 =>
63.169.99.130/32   link#1             UC          0        0      xl0 =>
63.169.99.131/32   link#1             UC          0        0      xl0 =>
63.169.99.132/32   link#1             UC          0        0      xl0 =>
63.169.99.133/32   link#1             UC          0        0      xl0 =>
63.169.99.134/32   link#1             UC          0        0      xl0 =>
63.169.99.135/32   link#1             UC          0        0      xl0 =>
63.169.99.136/32   link#1             UC          0        0      xl0 =>
63.169.99.137/32   link#1             UC          0        0      xl0 =>
63.169.99.138/32   link#1             UC          0        0      xl0 =>
63.169.99.143/32   link#1             UC          0        0      xl0 =>
63.169.99.145/32   link#1             UC          0        0      xl0 =>
127.0.0.1          127.0.0.1          UH          0      132      lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%xl0/64                     link#1                        UC          xl0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
fe80::%gif0/64                    fe80::250:4ff:fece:e70f%gif0  Uc         gif0
fe80::250:4ff:fece:e70f%gif0      ::1                           UH          lo0
fe80::%gif1/64                    fe80::250:4ff:fece:e70f%gif1  Uc         gif1
fe80::250:4ff:fece:e70f%gif1      ::1                           UH          lo0
fe80::%gif2/64                    fe80::250:4ff:fece:e70f%gif2  Uc         gif2
fe80::250:4ff:fece:e70f%gif2      ::1                           UH          lo0
fe80::%gif3/64                    fe80::250:4ff:fece:e70f%gif3  Uc         gif3
fe80::250:4ff:fece:e70f%gif3      ::1                           UH          lo0
fe80::%stf0/64                    fe80::250:4ff:fece:e70f%stf0  Uc         stf0
fe80::250:4ff:fece:e70f%stf0      ::1                           UH          lo0
ff01::/32                         ::1                           U           lo0
ff02::%xl0/32                     link#1                        UC          xl0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
ff02::%gif0/32                    fe80::250:4ff:fece:e70f%gif0  UC         gif0
ff02::%gif1/32                    fe80::250:4ff:fece:e70f%gif1  UC         gif1
ff02::%gif2/32                    fe80::250:4ff:fece:e70f%gif2  UC         gif2
ff02::%gif3/32                    fe80::250:4ff:fece:e70f%gif3  UC         gif3
ff02::%stf0/32                    fe80::250:4ff:fece:e70f%stf0  UC         stf0


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10007031410590.6660-300000>