Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 13:34:54 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   6.3 DHCP and static_routes
Message-ID:  <47C012EE.6090006@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.
This is part of my rc.conf:

ifconfig_vr0="DHCP"
static_routes="a b c"
route_a="192.168.101.0/24 xxx"
route_b="192.168.103.0/24 yyy"
route_c="192.168.106.0/24 xxx"

This used to work fine with 6.2, with the default route set up by the 
DHCP servers.

After I upgraded to 6.3, I get no default route anymore. This is the 
relevant part of my logfile:

Feb 23 11:16:38 zzz kernel: DHCPDISCOVER on vr0 to 255.255.255.255 port 
67 interval 6
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: DHCPOFFER from 10.1.2.15
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: DHCPREQUEST on vr0 to 255.255.255.255 port 67
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: DHCPACK from 10.1.2.15
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: bound to 10.1.2.18 -- renewal in 1800 seconds.
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: lo0: 
flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
Feb 23 11:16:38 zzz kernel: inet 127.0.0.1 netmask 0xff000000
Feb 23 11:16:38 zzz kernel: vr0: 
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
Feb 23 11:16:38 zzz kernel: options=8<VLAN_MTU>
Feb 23 11:16:38 zzz kernel: inet 10.1.2.18 netmask 0xffffff00 broadcast 
10.1.2.255
Feb 23 11:16:38 zzz kernel: ether 00:50:8d:63:65:ce
Feb 23 11:16:38 zzz kernel: media: Ethernet autoselect (100baseTX 
<full-duplex>)
Feb 23 11:16:38 zzz kernel: status: active
Feb 23 11:16:38 zzz kernel: add net 192.168.101.0: gateway xxx
Feb 23 11:16:38 zzz kernel: route:
Feb 23 11:16:38 zzz kernel: writing to routing socket
Feb 23 11:16:38 zzz kernel: :
Feb 23 11:16:38 zzz kernel: File exists
Feb 23 11:16:38 zzz kernel: add net 192.168.103.0: gateway yyy: route 
already in table
Feb 23 11:16:38 zzz kernel: add net 192.168.106.0: gateway xxx
Feb 23 11:16:38 zzz kernel: Additional routing options:


Has anything changed? Anyone else experiencing a similar problem? Any 
suggestion?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C012EE.6090006>