No go, I'm afraid. Clearly I'll have to go away and do a little bit more reading/thinking about how to configure the OpenBSD routing table to do what I want it to do. In particular I don't understand the "route add" command you've suggested, and I hate implementing something I don't understand (and certainly would never do so in a production environment) so if anyone could explain this - or provide a link to documentation elsewhere which explains it - I would very much appreciate this.
In the mean time here is what I did if anyone else has any pointers (note that 211.31.137.131 is what the Netgear half-bridge is telling me my ISP gateway is): % cat /etc/mygate 10.1.1.1 % cat /etc/hostname.sis1 dhcp inet alias 10.1.1.15 255.0.0.0 NONE % cat /etc/dhclient.conf interface "sis1" { supersede subnet-mask 255.255.255.255; } % sh /etc/netstart DHCPDISCOVER on sis1 to 255.255.255.255 port 67 interval 6 ip length 576 disagrees with bytes received 580. accepting packet with data after udp payload. DHCPOFFER from 10.1.1.1 DHCPREQUEST on sis1 to 255.255.255.255 port 67 ip length 576 disagrees with bytes received 580. accepting packet with data after udp payload. DHCPACK from 10.1.1.1 bound to 58.104.107.142 -- renewal in 30 seconds. Nov 17 10:10:59 wendolene dhclient[16464]: connection closed Nov 17 10:10:59 wendolene dhclient[16464]: exiting. % ifconfig sis1 sis1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 address: 00:40:f4:6f:d4:d4 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::240:f4ff:fe6f:d4d4%sis1 prefixlen 64 scopeid 0x2 inet 58.104.107.142 netmask 0xffffffff broadcast 58.104.107.255 inet 10.1.1.15 netmask 0xff000000 broadcast 10.255.255.255 % route add -host 10.1.1.1 -netmask 255.0.0.0 -interface 211.31.137.131 -cloning route: writing to routing socket: Network is unreachable add net 10.1.1.1: gateway 211.31.137.131: Network is unreachable On 11/11/06, Antoine Jacoutot <[EMAIL PROTECTED]> wrote:
On Fri, 10 Nov 2006, Antoine Jacoutot wrote: > $ 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) And I forgot to say you need ng.ng.ng.ng in /etc/mygate. Cheers! -- Antoine