Assigning default route (or default gateway) in Linux :
route add default gw 192.168.0.1 netmask 255.255.255.0
Assigning default route (or default gateway) in FreeBSD :
route add default 192.168.0.1
List the route table, in Linux :
route -n
netstat -rn
ip route list
List the route table, in FreeBSD :
netstat -rn
Remove or delete route in table, in Linux :
route del -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 eth0
Remove or delete route in table, in FreeBSD :
route delete default
These are the posts on how to change the IP and make it permanent :
- In Linux.
- In Freebsd.
Ciao !!!
No comments:
Post a Comment