- May 26, 2016
- 18
- 0
- 6
I'm trying to understand some basic concepts of networking. I have following home LAN:

- Is it right (like above) to have 2 NIC's each one having 2 different
gateways on one station? There PC2 have 2 NICs - the first's one
gateway is 192.168.0.1 the second's 192.168.1.1? - Initially (just after system startup) the ip table is like that:
Code:
192.168.0.0 255.255.255.0 On-link 192.168.0.11 276 192.168.0.11 255.255.255.255 On-link 192.168.0.11 276 192.168.0.255 255.255.255.255 On-link 192.168.0.11 276
Code:nc -zv -s 192.168.0.11 192.168.0.11 80
Code:route add 192.168.0.11 mask 255.255.255.255 0.0.0.0
- I can't change the metric to desired value. When i run for eg.
Code:
route change 192.168.0.11 mask 255.255.255.255 192.168.0.11 metric 500
- Is there any connection between -s flag (local source address) in
netcat and routing table's Interface column?