Advertising
- Untitled
- Monday, May 14th, 2007 at 4:27:28pm UTC
- Both eth0 and eth1 are connected to the same switch, and both got an ip address from id with dhcp
- IF I CONNECT ONLY INE CABLE TO eth0
- No route to host
- No route to host
- IF I CONNECT ONLY INE CABLE TO eth1
- Password:
- Password:
- server:~# ip route list
- 192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.65
- 192.168.5.0/24 dev eth1 proto kernel scope link src 192.168.5.110
- default via 192.168.5.254 dev eth0
- server:~#
- server:~# ifconfig
- eth0 Link encap:Ethernet HWaddr 00:08:54:45:A0:D4
- inet addr:192.168.5.65 Bcast:192.168.5.255 Mask:255.255.255.0
- inet6 addr: fe80::208:54ff:fe45:a0d4/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:739 errors:0 dropped:0 overruns:0 frame:0
- TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:60485 (59.0 KiB) TX bytes:39680 (38.7 KiB)
- Interrupt:177 Base address:0xec00
- eth1 Link encap:Ethernet HWaddr 00:B0:D0:E1:63:4A
- inet addr:192.168.5.110 Bcast:192.168.5.255 Mask:255.255.255.0
- inet6 addr: fe80::2b0:d0ff:fee1:634a/64 Scope:Link
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:589 errors:0 dropped:0 overruns:0 frame:0
- TX packets:9 errors:7 dropped:0 overruns:0 carrier:7
- collisions:0 txqueuelen:1000
- RX bytes:40258 (39.3 KiB) TX bytes:1746 (1.7 KiB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
- server:~#
- server:~# netstat -a
- Active Internet connections (servers and established)
- Proto Recv-Q Send-Q Local Address Foreign Address State
- tcp 0 0 localhost.localdom:smtp *:* LISTEN
- tcp6 0 0 *:ssh *:* LISTEN
- tcp6 0 0 ::ffff:192.168.5.65:ssh ::ffff:192.168.5.:33283 ESTABLISHED
- udp 0 0 *:bootpc *:*
- udp 0 0 *:bootpc *:*
- Active UNIX domain sockets (servers and established)
- Proto RefCnt Flags Type State I-Node Path
- unix 5 [ ] DGRAM 3415 /dev/log
- unix 2 [ ] DGRAM 3964
- unix 2 [ ] DGRAM 3927
- unix 2 [ ] DGRAM 3427
- server:~#
- server:~# route -n
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
- 0.0.0.0 192.168.5.254 0.0.0.0 UG 0 0 0 eth0
- server:~#
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.