Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-03-2004, 01:44 AM   #1
Registered: Jun 2004
Location: bloem
Distribution: asdsa
Posts: 43

Rep: Reputation: 15
Can't access other network segment

Hi. I have a Linux box in the middle of 2 Network Segments.NetworkA and NetworkB.

NetworkA------------->eth0 LINUX eth1 -------->NetworkB

NetworkA: 192.168.35.X
NetworkB: 192.168.35.X

I want networkA to be able to access NetworkB.At the moment i Can't ping any PC on NetworkB.

Things i Trierd:

I can ping Eth0 from Network A, but only if i Disable Eth0 can i ping NetworkB from the linux box.


FROM LINUX:eth0 ping 192.168.35.X "REPLY 100%"
FROM Linux:eth1 ping 192.168.35X "NO REPLY"

If i disable Eth0: ifconfig eth0 down
FROM LINUX: eth1: ping 192.168.35.X "REPLY 100"

Why must i first disable eth0 to be ably to ping from eth1 to networkB?

This is not my biggest Issue: I want to be ably to communicate from NetworkA to NetworkB.

PLEASE HELP.........
Old 09-03-2004, 02:04 AM   #2
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 16
Where you mention 'Network Segments' - you don't mean subnets do you? That setup isn't going to work without proxying the arp packets on each segment, assuming your linux box is the only piece of equipment between A and B.

Otherwise, if you actually do mean subnets, then you need to put each interface into *actual* subnets - and are in the same network - no matter what netmask you use Try splitting it out into and for eth0 and eth1 respectively, then just forward between the subnets (with routes as required pointing to the linux box)

What's the topology - is everything connected into the same hub or switch (or a cluster thereof)?
Old 09-03-2004, 02:04 AM   #3
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
I've got yet to understand what you call a segment... Referring to the IP layer, your 2 eth look furiously to me like they are on the *same* segment (but of course I could be mistaken, since you don't give the netmask). Referring to physical segments, a switch is what you need, not a router.

Looks to me, the first thing to do is to define properly your 2 networks :
Network A : -> eth0 (or
Network B : -> eth1 (or

Re-configure accordingly the PCs in Network B, of course.

Then routing will have to be configured on your multihomed Linxu box...

Good luck !


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 07:24 PM
2 subnets on the same network segment robadawb Linux - Networking 5 11-16-2005 03:42 PM
Changing network segment of a Windows network eantoranz Linux - Networking 3 10-18-2005 09:58 AM
how to configure my network on slackware 10.0 so i can access a windows network salviadud Linux - Newbie 2 02-11-2005 01:19 PM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration