Menambah atau menghapus route/gateway di linux



# Membuat default gateway
route add default gw 192.168.84.66

# mengapus default gateway
route del -net 0.0.0.0 gw 192.168.84.94

# menambah route
route del -net 202.159.0.0 netmask 255.255.0.0 gw 192.168.84.66

# mengapus route
route del -net 202.159.0.0 netmask 255.255.0.0 gw 192.168.84.66

No comments :

Post a Comment