Thursday, February 5, 2009

linux networking command

  • print route table
netstat -r
  • add route table entry
route add -net 172.16.2.0 netmask 255.255.255.0 gw 172.16.2.2
  • restart network
/etc/init.d/networking restart

No comments:

Post a Comment