default route without a gateway
Hi,
I have a question about adding a default route without a gateway. What is the difference between:
route add default gw 192.168.0.1 eth0
and
route add default eth0
Both work for me, so I don't understand why specifying the gateway is neccesary. Either way eth0 dumps the packet out on the network and either way 192.168.0.1 seems to route it.
Thanks for clearing up my confusion
|