Re: route syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/10/05, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote:
...
> The ping target is in the same subnet?
...

the setup is

D-Link eth1               built-in eth0
192.168.0.2 ---| arrakis |--- 192.168.0.1
    |
 | HUB |
    |
| CALADAN |--- 192.168.0.3

> No, the zeroconf route entry is no problem.
> Why do you want to delete eth0?
...

it's not that I want to delete arrakis eth0 but that I want to isolate
arrakis eth1.  arrakis eth1 refers to the D-Link NIC.  I want to ping
from the D-Link NIC to caladan.

[root@arrakis init.d]#
[root@arrakis init.d]# pwd
/etc/init.d
[root@arrakis init.d]# whoami
root
[root@arrakis init.d]# date
Mon Jul 11 06:29:27 IST 2005
[root@arrakis init.d]# echo "arrakis D-Link to hub to caladan"
arrakis D-Link to hub to caladan
[root@arrakis init.d]# echo "arrakis D-Link NIC is eth1"
arrakis D-Link NIC is eth1
[root@arrakis init.d]# ./network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down interface eth1:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Disabling IPv4 packet forwarding:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]
Bringing up interface eth1:                                [  OK  ]
[root@arrakis init.d]# ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
>From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
>From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
>From 192.168.0.2 icmp_seq=3 Destination Host Unreachable

--- 192.168.0.3 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 4
[root@arrakis init.d]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
[root@arrakis init.d]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:E6:A0:24:27
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:e6ff:fea0:2427/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:2338 (2.2 KiB)
          Interrupt:5 Base address:0xd400

eth1      Link encap:Ethernet  HWaddr 00:0D:88:37:FA:22
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:88ff:fe37:fa22/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51 errors:4 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7086 (6.9 KiB)  TX bytes:2472 (2.4 KiB)
          Interrupt:5 Base address:0xd000

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:117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9469 (9.2 KiB)  TX bytes:9469 (9.2 KiB)

[root@arrakis init.d]#



why can't I ping from the D-Link NIC on arrakis to the hub?  I thought
it was because of that last line in the route info, but apparently
not.


thanks,

Thufir


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux