Re: Re: How loopbacking works in linux..?

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

 



I have this as my route table..


Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
198.63.45.0    198.63.42.21    255.255.255.0  UG    0      0        0 eth0
198.63.42.0    198.63.45.20    255.255.255.0  UG    0      0        0 eth1
198.63.40.0    0.0.0.0        255.255.255.0  U    0      0        0 eth1
169.254.0.0    0.0.0.0        255.255.0.0    U    0      0        0 eth0
127.0.0.0      0.0.0.0        255.0.0.0      U    0      0        0 lo
0.0.0.0        198.63.42.254  0.0.0.0        UG    0      0        0 eth0


I used something like the following also, then also device used was loopback device .. 

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
198.63.45.20    0.0.0.0          255.255.255.0  UG    0      0        0 eth0
198.63.42.21    0.0.0.0          255.255.255.0  UG    0      0        0 eth1
198.63.40.0    0.0.0.0        255.255.255.0  U    0      0        0 eth1
169.254.0.0    0.0.0.0        255.255.0.0    U    0      0        0 eth0
127.0.0.0      0.0.0.0        255.0.0.0      U    0      0        0 lo
0.0.0.0        198.63.42.254  0.0.0.0        UG    0      0        0 eth0



eth0 address....  198.63.42.21
eth1 address....  198.63.45.20



thanks
Rajesh


On Sun, 08 May 2005 Devesh Agrawal wrote :
>Hi,
>Can you show me your routing tables ?
>
>On 8 May 2005 08:09:15 -0000, rajesh  ms <torajeshms@xxxxxxxxxxxxxx> wrote:
> >
> >
> >
> >  Hi All,
> >
> >            I am doing some experiments with my network driver. I have 2 N/W
> > cards in one system and they are connected to each other by a cross cable. I
> > want to transmit data from one card to another to check the driver. I have
> > given address to cars like this 198.63.42.20 and 198.63.42.21 . But if i
> > ping 198.63.42.20 or 198.63.42.21 pinging is happening through loopback
> > device. How i can avoid this and make the data go through the real hardware?
> >
> >  How and when it understands the address is local and associates the
> > loopback device for trasmission?
> >
> >
> >  Thanks in Advance
> >  Rajesh
> >
> >
>
>
>--
>Regards,
>Devesh Agrawal




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux