Re: 2 network cards - one cable - both work - why?

From: Randell D. (reply.to.news.group.only_at_and.share.com)
Date: 12/11/03


Date: Thu, 11 Dec 2003 17:12:14 GMT


"Torsten Kaiser" <NOSPAMPLEASE@pcdweb.de> wrote in message
news:br8s7f$j7l$03$1@news.t-online.com...
> Hello Randell,
>
> Randell D. wrote:
>
> > Correct me if I'm wrong, but since there is only one cable, I should
> > only see one network card.... this is weird...
> >
> > eth0 Link encap:Ethernet HWaddr 00:60:08:65:AD:2C
> > inet addr:192.168.1.2 Bcast:192.168.1.255
Mask:255.255.255.0
> [...]
> >
> > eth1 Link encap:Ethernet HWaddr 00:50:04:4C:56:B8
> > inet addr:192.168.1.3 Bcast:192.168.1.255
Mask:255.255.255.0
>
> I guess the default route of this machine points to the NIC with the
cable.
> When you ping the other device, your machine recognizes that it owns this
> IP as well and answers on the same route it came in.
>
> Usually, two NICs within one machine get assigned two different network
> branches, not only two different IPs within the same network. This is done
> to control the traffic between two networks, e.g. the internet and your
> local network. In this case, behaviour is controlled by the design of
> broadcast adresses and netmasks assigned to the NICs.
>
> HTH
> Torsten Kaiser
>
>

Fair comment... but we're not just talking about pinging out from the box...
I can also ping the server from a windoze and another linux client... I can
ping both lan cards on the server, and both lan cards on the server
respond... There has been no special default routes created on either of the
two clients - when logged on to 192.168.1.32 (a windoze client) and I ping
from there to 192.168.1.2, I get a response from 192.168.1.2... When, from
the same client, I also ping 192.168.1.3, I also get a response... yet only
192.168.1.2 had a cable.... thus... I should *not* have the network card
with 192.168.1.2 respond to ping requests for 192.168.1.2 and 192.168.1.3...
but somehow... they do...

Anyway... to avoid confusion, I have disabled the second network card... I
didn't want to depend on something that shouldn't be if you see what I
mean...

randelld



Relevant Pages

  • Re: Delayed emails
    ... I just did a ping right before your reply came in, to the website of client ... Exchange MVP 2007 ... Would network monitor be the best bet for checking out the LAN? ...
    (microsoft.public.exchange2000.general)
  • Re: fastforward problem
    ... My box is a router for LAN ... I am managinc C class network. ... can my client resolve google.com in the DNS? ... clients can ping google IPs. ...
    (freebsd-net)
  • Re: ICS problem
    ... >be shared over the wireless network. ... >etc); I can initiate a dialup session from the client PC; I can then ping web ... right click the local area network connection ...
    (microsoft.public.windowsxp.network_web)
  • Re: ICS isnt working??
    ... tried to ping the google namepsace from the client. ... >>I set up my computer as the gateway to the internet. ... I tried the Network setup wizards ...
    (microsoft.public.windowsxp.network_web)
  • Re: Mshome is not accessible
    ... Windows Network, and select the workgroup I get: ... Mshome is not accessible. ... All computers are running Windows XP SP2 and are members of the MSHOME ... Computer A can ping using ping hom100fr001. ...
    (microsoft.public.windowsxp.network_web)