Thread: ifconfig athn0
View Single Post
  #5   (View Single Post)  
Old 25th March 2012
denta denta is offline
Shell Scout
 
Join Date: Nov 2009
Location: Sweden
Posts: 95
Default

Quote:
Originally Posted by marconi View Post
After adding two nameservers to /etc/resolv.conf i create /etc/mygate with ip address of router. With hostname.athn0 in etc nothing is happening.
Editing the hostname.if file is not enough. Run netstart aswell to setup default routes etc.
Code:
$ sudo sh /etc/netstart
If you have been doing that already, check your current routing table to see if the route is there.
Code:
$ route show -inet
If not, its probably a pf issue.
Reply With Quote