http://bugzilla.novell.com/show_bug.cgi?id=555870 Summary: dhclient does not get rfc3442 classless static routes Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Enhancement Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dmitry.kholodilov@gmail.com QAContact: qa@suse.de Found By: Community User Blocker: --- --- Comment #0 from Dmitry Kholodilov <dmitry.kholodilov@gmail.com> 2009-11-16 17:16:11 UTC --- Created an attachment (id=327730) dhclient-exit-hooks I'm connected to the LAN and my provider sends classless static routes through DHCP. But dhclient utility, that works with NetworkManager, does not set this routes. So, when I've connected to the Internet with VPN (pptp) I can't access local resources. My routing table looks like: Destination Gateway Genmask Flags Metric Ref Use Iface 10.55.88.0 * 255.255.254.0 U 1 0 0 eth0 default 10.55.88.1 0.0.0.0 UG 0 0 0 eth0 However, the problem is solvable: exit hook script is needed to set rfc3442 classless static routes using dhclient. Debian and Ubuntu linux distributions use this solution. I've attached the file "dhcp-exit-hooks", that placed in my /etc dir. This script does work on setting the routes. Also, in "dhclient.conf" file we need to add line: option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; and "rfc3442-classless-static-routes" in request list. I've attached this file too. So, with additional configuration my routing table looks like: Destination Gateway Genmask Flags Metric Ref Use Iface 85.112.113.96 10.55.88.1 255.255.255.240 UG 0 0 0 eth0 192.188.189.0-n 10.55.88.1 255.255.255.0 UG 0 0 0 eth0 192.168.254.0 10.55.88.1 255.255.255.0 UG 0 0 0 eth0 oivt-net.mipt.r 10.55.88.1 255.255.254.0 UG 0 0 0 eth0 10.55.88.0 * 255.255.254.0 U 1 0 0 eth0 81.5.88-net.mip 10.55.88.1 255.255.252.0 UG 0 0 0 eth0 campus-net-80.0 10.55.88.1 255.255.252.0 UG 0 0 0 eth0 81.5.64.0 10.55.88.1 255.255.240.0 UG 0 0 0 eth0 93.182.0.0 10.55.88.1 255.255.192.0 UG 0 0 0 eth0 172.16.0.0 10.55.88.1 255.240.0.0 UG 0 0 0 eth0 10.0.0.0 10.55.88.1 255.0.0.0 UG 0 0 0 eth0 default 10.55.88.1 0.0.0.0 UG 0 0 0 eth0 And local resources are accessible with VPN connection. I think this behavior should be used by default, or at least, be configurable. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.