Tag Info

New answers tagged

1

Assume eth0 is dhcp client interface. One of options is to check dhcp client lease files dhcpd.leases Place and name depend on system, some fedora box under /var/lib/dhclient/ are lease files, where interesting string is like that : option routers 192.168.1.1; Another option, which worked for me on funtoo box: dhcpcd -U eth0 prints nice table, ready to ...


3

Your mistake is that you're associating the information on the netstat output with the interface rather than the destination. Destination addresses can have associated gateways. When you configure your network, you're associating interfaces and gateways with sets of destination addresses -- so the question you need to be asking is "what's the gateway for ...



Top 50 recent answers are included