Networking Forums

Networking Forums > Computer Networking > Linux Networking > dual homed issues

Reply
Thread Tools Display Modes

dual homed issues

 
 
spec
Guest
Posts: n/a

 
      07-07-2006, 08:19 PM
I am trying to accomplish the following:

-connect eth1 on 2 pc's with a crossover cable. The eth1 network
(192.168.100.0/24) will solely be used for files transfers between the
2 boxes. Eth0 will handle all other traffic.

Here is the interface config from the 2:
iface eth0 inet static
address 209.210.x.11
netmask 255.255.255.0
network 209.210.x.0
broadcast 209.210.x.255
gateway 209.210.x.1

auto eth1
iface eth1 inet static
address 192.168.100.1
netmask 255.255.255.0
network 192.168.100.0
-------
iface eth0 inet static
address 209.210.x.11
netmask 255.255.255.0
network 209.210.x.0
broadcast 209.210.x.255
gateway 209.210.x.1

auto eth1
iface eth1 inet static
address 192.168.100.2
netmask 255.255.255.0
network 192.168.100.0
-----

The output of route is:

Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.100.0 * 255.255.255.0 U 0 0 0
eth1
209.210.150.0 * 255.255.255.0 U 0 0 0
eth0
default gw-209-210-150. 0.0.0.0 UG 0 0 0
eth0

Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
209.210.150.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 209.210.150.1 0.0.0.0 UG 0 0 0
eth0

-----

I cannot ping between the 2. Besides a bad crossover cable, could
anything else be wrong. One box is Linux 2.4, the other 2.6.

Thanks!

 
Reply With Quote
 
 
 
 
markp
Guest
Posts: n/a

 
      07-07-2006, 09:49 PM

>
> Here is the interface config from the 2:
> iface eth0 inet static
> address 209.210.x.11
> netmask 255.255.255.0
> network 209.210.x.0
> broadcast 209.210.x.255
> gateway 209.210.x.1
>
> auto eth1
> iface eth1 inet static
> address 192.168.100.1
> netmask 255.255.255.0
> network 192.168.100.0
> -------
> iface eth0 inet static
> address 209.210.x.11
> netmask 255.255.255.0
> network 209.210.x.0
> broadcast 209.210.x.255
> gateway 209.210.x.1
>
> auto eth1
> iface eth1 inet static
> address 192.168.100.2
> netmask 255.255.255.0
> network 192.168.100.0
> -----
>


> I cannot ping between the 2. Besides a bad crossover cable, could
> anything else be wrong. One box is Linux 2.4, the other 2.6.
>
> Thanks!


You seem to have the same external IP address on eth0 there, is this right?
Routing looks OK though for the private address range. Do you have iptables
loaded on either machine, and if so have you enabled echo requests and
replies? Also, have you tried 'ifup eth0' on both linux boxes? If the
cross-over cable is duff neither interface will be up. I also suggest
putting in 'auto eth0' in both configurations, otherwise the system scripts
might not bring them up properly (auto might not be doing what you think,
see 'info interfaces')

Mark.



 
Reply With Quote
 
markp
Guest
Posts: n/a

 
      07-07-2006, 09:51 PM

"markp" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>>

> I also suggest putting in 'auto eth0' in both configurations, otherwise
> the system scripts might not bring them up properly (auto might not be
> doing what you think, see 'info interfaces')


My bad, eth0 is your external interface.


 
Reply With Quote
 
spec
Guest
Posts: n/a

 
      07-07-2006, 09:58 PM
it is auto up, I just didnt paste that part, my bad

-no ip tables, just stock debian 31 install

-all interfaces were ifup'd


markp wrote:
> "markp" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> >>

> > I also suggest putting in 'auto eth0' in both configurations, otherwise
> > the system scripts might not bring them up properly (auto might not be
> > doing what you think, see 'info interfaces')

>
> My bad, eth0 is your external interface.


 
Reply With Quote
 
spec
Guest
Posts: n/a

 
      07-07-2006, 09:59 PM
oops, as far as the same external addresses, another paste error, 1 is
..11 the other .10


markp wrote:
> "markp" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> >>

> > I also suggest putting in 'auto eth0' in both configurations, otherwise
> > the system scripts might not bring them up properly (auto might not be
> > doing what you think, see 'info interfaces')

>
> My bad, eth0 is your external interface.


 
Reply With Quote
 
markp
Guest
Posts: n/a

 
      07-07-2006, 10:23 PM
Maybe one of your interfaces is just not working. Have you tried swapping
eth0 and eth1 on either machine? Do any lights flash on the NICs during ping
requests?

Mark.

"spec" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> it is auto up, I just didnt paste that part, my bad
>
> -no ip tables, just stock debian 31 install
>
> -all interfaces were ifup'd
>
>
> markp wrote:
>> "markp" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> >
>> >>
>> > I also suggest putting in 'auto eth0' in both configurations, otherwise
>> > the system scripts might not bring them up properly (auto might not be
>> > doing what you think, see 'info interfaces')

>>
>> My bad, eth0 is your external interface.

>



 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      07-08-2006, 08:54 PM
On 7 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) om>, spec wrote:

>-connect eth1 on 2 pc's with a crossover cable. The eth1 network
>(192.168.100.0/24) will solely be used for files transfers between the
>2 boxes. Eth0 will handle all other traffic.


OK - common enough

>Here is the interface config from the 2:


Typos noted - looks OK otherwise

>The output of route is:


Also OK

>I cannot ping between the 2. Besides a bad crossover cable, could
>anything else be wrong. One box is Linux 2.4, the other 2.6.


What does /sbin/ifconfig -a show on both? Any errors? Are the interfaces
up, running, and in use? What error message do you get? Run tcpdump and
see what the packets are doing. Oh, and how are you trying your commands.
To use eth1, you have to be sending to the hostname or IP address associated
with eth1 on the peer, not it's eth0 name/address.

Old guy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Homed Question DJ Windows Networking 6 02-06-2007 12:44 PM
dual-homed dell? Ross M. Greenberg Wireless Internet 9 06-12-2006 02:51 PM
Dual homed machine delphinuscadmus@yahoo.com Linux Networking 0 04-24-2006 04:15 AM
Dual homed DC´s Lem Windows Networking 2 08-25-2004 02:15 AM
ssh into dual homed machine bad_knee Linux Networking 3 06-12-2004 03:14 PM



1 2 3 4 5 6 7 8 9 10 11