route issue
Michael Powell
nightrecon at hotmail.com
Tue Dec 25 20:51:52 UTC 2012
Yavuz Ma?lak wrote:
> Hello
>
>
> On freebsd8.2 when i run netstat -rn i see below;
>
> # netstat -rn | grep -r "127.0.0.1"
> 127.0.0.1 127.0.0.1 UHS 0 1462933 lo0
>
> As flag i think that it should be UH but on my server as above;
>
> How can i fix it ?
Please show us your entire netstat -rn output, as well as entire ifconfig -a
output, and even possibly the relevant network config lines from
/etc/rc.conf too. I'm wondering if you have no other interfaces configured
so it is defaulting back to this. The 'S' flag usually shows up in manually
configured interfaces for network cards, e.g. NICs with an ifconfig line to
activate them in /etc/rc.conf.
Perhaps you are missing or have something slightly misconfigured in
/etc/rc.conf. Possibilities might include no defaultrouter, hostname, etc.
Note that /etc/rc.conf should be used for overriding defaults. The defaults
are in /etc/defaults/rc.conf and this file should be left alone.
Note the following are already in /etc/defaults/rc.conf:
network_interfaces="auto" # List of network interfaces (or "auto").
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
Maybe you have a network_interfaces="<iface1> <iface1> [...] <iface lo0>"
manually listing the interfaces in /etc/rc.conf which is overriding the
default "auto". Just some guessing on my part to give you some ideas.
-Mike
More information about the freebsd-questions
mailing list