|
||||
Thanks.
Tried with rc.local but didn't seem to get it working. Eventually i managed to find this which seems to be working. Code:
Change your dhclient.conf file so that it doesn't request 'routers' (for that interface) and set the default statically by setting defaultroute in rc.conf. Code:
reject 192.168.0.254; interface "bfe0" { request subnet-mask, broadcast-address, time-offset, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; } BTW can i put some IP range to the reject?
__________________
SpreadBsd |
Tags |
2 external, 2 isp, firewall, nat, pf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mounting external XFS HDD | rativid | OpenBSD General | 5 | 3rd September 2010 02:31 PM |
External Ips | zomo | OpenBSD General | 12 | 20th November 2008 09:47 AM |
Router for external IP's | bichumo | General software and network | 11 | 22nd July 2008 03:07 AM |
2 external NIC + 1 internal NIC | AlexV | FreeBSD General | 7 | 4th June 2008 08:18 AM |
ssh/external access | jwhal | OpenBSD General | 11 | 21st May 2008 07:19 PM |