Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Untitled
Monday, May 14th, 2007 at 4:27:28pm UTC 

  1. Both eth0 and eth1 are connected to the same switch, and both got an ip address from id with dhcp
  2.  
  3. IF I CONNECT ONLY INE CABLE TO eth0
  4.  
  5. [email protected]:~$ ssh -XC [email protected]192.168.5.65
  6. No route to host
  7.  
  8. [email protected]:~$ ssh -XC [email protected]192.168.5.110
  9. No route to host
  10.  
  11.  
  12. IF I CONNECT ONLY INE CABLE TO eth1
  13.  
  14. [email protected]:~$ ssh -XC [email protected]192.168.5.65
  15. Password:
  16.  
  17. [email protected]:~$ ssh -XC [email protected]192.168.5.110
  18. Password:
  19.  
  20.  
  21. server:~#  ip route list
  22. 192.168.5.0/24 dev eth0  proto kernel  scope link  src 192.168.5.65
  23. 192.168.5.0/24 dev eth1  proto kernel  scope link  src 192.168.5.110
  24. default via 192.168.5.254 dev eth0
  25. server:~#
  26. server:~# ifconfig
  27. eth0      Link encap:Ethernet  HWaddr 00:08:54:45:A0:D4
  28.           inet addr:192.168.5.65  Bcast:192.168.5.255  Mask:255.255.255.0
  29.           inet6 addr: fe80::208:54ff:fe45:a0d4/64 Scope:Link
  30.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  31.           RX packets:739 errors:0 dropped:0 overruns:0 frame:0
  32.           TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
  33.           collisions:0 txqueuelen:1000
  34.           RX bytes:60485 (59.0 KiB)  TX bytes:39680 (38.7 KiB)
  35.           Interrupt:177 Base address:0xec00
  36.  
  37. eth1      Link encap:Ethernet  HWaddr 00:B0:D0:E1:63:4A
  38.           inet addr:192.168.5.110  Bcast:192.168.5.255  Mask:255.255.255.0
  39.           inet6 addr: fe80::2b0:d0ff:fee1:634a/64 Scope:Link
  40.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  41.           RX packets:589 errors:0 dropped:0 overruns:0 frame:0
  42.           TX packets:9 errors:7 dropped:0 overruns:0 carrier:7
  43.           collisions:0 txqueuelen:1000
  44.           RX bytes:40258 (39.3 KiB)  TX bytes:1746 (1.7 KiB)
  45.  
  46. lo        Link encap:Local Loopback
  47.           inet addr:127.0.0.1  Mask:255.0.0.0
  48.           inet6 addr: ::1/128 Scope:Host
  49.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  50.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  51.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  52.           collisions:0 txqueuelen:0
  53.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  54.  
  55. server:~#
  56. server:~# netstat -a
  57. Active Internet connections (servers and established)
  58. Proto Recv-Q Send-Q Local Address           Foreign Address         State
  59. tcp        0      0 localhost.localdom:smtp *:*                     LISTEN
  60. tcp6       0      0 *:ssh                   *:*                     LISTEN
  61. tcp6       0      0 ::ffff:192.168.5.65:ssh ::ffff:192.168.5.:33283 ESTABLISHED
  62. udp        0      0 *:bootpc                *:*
  63. udp        0      0 *:bootpc                *:*
  64. Active UNIX domain sockets (servers and established)
  65. Proto RefCnt Flags       Type       State         I-Node Path
  66. unix  5      [ ]         DGRAM                    3415     /dev/log
  67. unix  2      [ ]         DGRAM                    3964
  68. unix  2      [ ]         DGRAM                    3927
  69. unix  2      [ ]         DGRAM                    3427
  70. server:~#
  71. server:~# route -n
  72. Kernel IP routing table
  73. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  74. 192.168.5.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
  75. 192.168.5.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
  76. 0.0.0.0         192.168.5.254   0.0.0.0         UG    0      0        0 eth0
  77. 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right