On Thu, 8 Jan 2004, Scott Paul Robertson wrote:
> did a 'service network restart' and had no change.  So I did 'ifconfig
> eth0 208.187.181.229' and then it worked.  No problems.  I plugged my
> machine back into the router and tested and it was still working.  So
> after a reboot I checked and it wasn't working.  i tryed 'ifconfig eth0
> 208.187.181.229' and I could get to my web server, but every other web
> page I tryed gave me a 'connection refused by ...' message.

Generally when you run ifconfig, it drops all the routes for that interface in
the routing table.  So you have to do "route add default gw x.x.x.x", where
x.x.x.x is the gateway's IP.

                                        -J


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to