I have access to a remote machine which has two network interfaces, eth0 is connected to same network I am in, so I am able to connect to it. But I need to test some usecases on eth1 but I am not sure whether it is connected to a router or not.
How can I verify that it is connected to a router ? I can see that it has no inet address but has inet6 , what does this mean ?
I have deleted IPv6 Address from below
eth1 Link encap:Ethernet HWaddr (deleted)
inet6 addr: (deleted IPV6 Address)/64 Scope:Global
inet6 addr: (deleted IPV6 Address)/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:146 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10139 (9.9 KiB) TX bytes:406 (406.0 b)
..ff:fe..
in it. It looks like the interface has a standard link local address (like every IPv6 capable interface) and a global address that could have been provided by the router or set statically on the device. Did you configure a static IPv6 address? Oh, and do you specifically mean "connected to a router" or "connected to any other device"?ff:fe
in the global address (starting with2002:
), then this address is most probably configured via stateless address auto-configuration (SLAAC) or perhaps DHCPv6, using a prefix from the router, and then you are connected to a router.