Re: [ILUG] Creating a multihomed host.

From: Oisin Kim (kimo at domain cs.tcd.ie)
Date: Sat 11 Aug 2001 - 14:53:36 IST


Hi again,
first of all to Niall: thank you, thank you, thank you!! it worked perfect!

I'm sorry to bother you all again, but here goes...

I tried to read some books before I set up the network cards, so the setup I
had was very similar to that depicted by your solution (as shown in last
email Re: [ILUG] Creating a multihomed host.) , except that I was using one
set of network cards for a broadcast address and I had set different netmasks
for each set of cards. I thought this would help differentiate between each
network, is this right?

The output of ifconfig is shown below.

What I was wondering was, is it possible for a nic to be both a regular IP
address and a broadcast address at the same time?

the reason I ask is that I noticed when I run ifconfig it looks like eth0
represents both a regular inet address (134.226.36.241) and also a broadcast
address (134.226.255.255). This was set by default by the RHAT install.

[oisin at domain mcdonalds queue]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:03:42:45:7F
          inet addr:134.226.36.241 Bcast:134.226.255.255 Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:521656 errors:0 dropped:0 overruns:1 frame:0
          TX packets:197892 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:10:B5:AD:2F:E2
          UP BROADCAST RUNNING MULTICAST 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
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0x5400
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:310632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:310632 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

Thanks for all your help on this,
Oisin



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:34 GMT