On Fri, 10 Nov 2006, Damon McMahon wrote:
I'm trying to get my Netgear DG-632 to operate as a half-bridge to my
OpenBSD router.
Unfortunately the public IP address my ISP is dynamically assigning
(58.104.125.124) is not on the same subnet as their default gateway
(211.31.137.132), hence I suspect dhclient(8) is baulking when
attempting to establsh the default route.
Is there any method of getting around this? Potentially relevant
information follows:
Allright, I have the same setup except that I have a fixed @IP.
$ cat /etc/hostname.rl1
inet ip.ip.ip.ip 255.255.255.255 NONE
!route add -host ng.ng.ng.ng -netmask 255.255.255.0 -interface gw.gw.gw.gw
-cloning
ip.ip.ip.ip = public @ip (your dhcp @ip)
ng.ng.ng.ng = the NetGear @ip (ex. 192.168.0.1)
gw.gw.gw.gw = your ISP gateway (the one that's not on the same subnet)
Maybe you could try hacking dhclient so that the correct argumebts are
passed to ifconfig.
Cheers!
--
Antoine