Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2004 12:47:34 +0000
From:      DrumFire <dpphln@tin.it>
To:        freebsd-net@freebsd.org
Subject:   ifconfig and route problem.
Message-ID:  <20040224124734.77e8835b.dpphln@tin.it>

next in thread | raw e-mail | index | archive | help
Hi,

this is my configuration:

rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
        ether 00:30:84:9e:9d:26
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

and this is my default route 

default            192.168.100.254      UGS         0        0    rl0

If I write something of this:

# ifconfig rl0 $ip (where ip can be also 192.168.100.1), my default
route is deleted, cut off server for my net.

There's a way to avoid ifconfig delete my default route when I modify 
a ipaddress?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040224124734.77e8835b.dpphln>