Re: subnets & 2 NICS in a mashine
Robert Guthrie wrote:
> If you could give an example (including ascii diagrams) of what you're trying
> to accomplish, and and explanation of what advantage you hope to get from
> that setup, maybe we can get closer to understanding what you really want to
> do. I don't think I'm really qualified to keep attempting to teach you the
> OSI* networking model, and I don't think I can make this any clearer with my
> limited skills.
Actually the initial idea of putting the 2 NICS on mashine GOOFY was:
GOOFY
(192.168.1.1)eth0 eth1(192.168.2.1)
/ \
/ \
(192.168.1.2) MICKEY MINI (192.168.2.2)
..that MICKEY has 'direct contact' to MINI. After realizing that
putting all eth's on one subnet didn't work, I used the above
IPnumbers and all mashines are able to ping each other by the
appropiate IP number but:
MICKEY can ping GOOFY because of using the local C:\windows\hosts
MINI can ping GOOFY because of using the local /etc/hosts
But GOOFY cannot ping MICKEY or MINI by name although GOOFY's
/etc/hosts containes:
#file /etc/hosts
127.0.0.1 localhost localhost.domain
192.168.1.1 GOOFY.ORION.DE GOOFY
194.25.2.129 t-online.de t-online
192.168.2.2 MINI.ORION.DE MINI
192.168.1.2 MICKEY.ORION MICKEY
and :
GOOFY:[/root] #ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0 coll:0
eth0 Link encap:Ethernet HWaddr 00:50:DA:21:B1:A1
inet addr:192.168.1.1 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:241 errors:0 dropped:0 overruns:0 frame:0
TX packets:261 errors:0 dropped:0 overruns:0 carrier:0
coll:0
Interrupt:11 Base address:0xc800
eth1 Link encap:Ethernet HWaddr 00:00:21:CC:B8:EC
inet addr:192.168.2.1 Bcast:192.168.2.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:736 errors:0 dropped:0 overruns:0 frame:0
TX packets:681 errors:0 dropped:0 overruns:0 carrier:0
coll:0
Interrupt:12 Base address:0xd400
ippp0 Link encap:Point-to-Point Protocol
inet addr:62.226.59.15 Bcast:62.255.255.255 Mask:255.0.0.0
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
...which looks quite nicely.
Could you help to clarify?
Robert
Reply to: