Newbie Alert: can't get two networks working in RH7.1

Newbie Alert: can't get two networks working in RH7.1

Post by root » Fri, 22 Jun 2001 02:56:36



Hi there,

For some bizarre reason I cannot get two networks working under RH7.1. I
suspect it's something to do with routing, but don't understand enough
of Linux/*nix to be able to make the necessary changes.

Currently I have a 3COM509 card connected to my cable modem, and a
Netgear card connected to my local network.

The odd thing is, using the KDE Network config tool I can activate eth0
(eth1 de-activated) and I can access the Internet via the 3COM card, and
I can activate eth1 (eth0 de-activated) and I can access the local
network, but with both activated - nothing works - which makes me think
the routes are reversed (looking for local addresses on the net, and web
addresses locally).

A simple 'route' gives me:

Destination     Gateway Genmask         Iface
62.252.22.0     *       255.255.255.0   eth1
192.169.0.0     *       255.255.255.0   eth0
127.0.0.0       *       255.0.0.0       lo
default         pc1-far.0.0.0.0         eth1

Now eventually I want this machine to act as a DHCP server, and as a
gateway to the Internet for the machines on 192.168.0.* just like my
nice and easy Win98SE ICS does :o)

But this is SO hard, AFAIK I'm setting all the right settings, and I've
tried doing the same through LINUXCONF, but to no avail.

HEEEEEEELP!

Will be thankful for assistance received, and will pass on the knowledge
to others in true spirit of 'the net'.

TIA

Nick

 
 
 

Newbie Alert: can't get two networks working in RH7.1

Post by Karl Heye » Fri, 22 Jun 2001 05:10:48




> The odd thing is, using the KDE Network config tool I can activate eth0
> (eth1 de-activated) and I can access the Internet via the 3COM card, and I
> can activate eth1 (eth0 de-activated) and I can access the local network,
> but with both activated - nothing works - which makes me think the routes
> are reversed (looking for local addresses on the net, and web addresses
> locally).

eth0 is the 3Com going to the ISP
eth1 is the Netgear  to LAN

Quote:> A simple 'route' gives me:

> Destination        Gateway Genmask         Iface
> 62.252.22.0        *       255.255.255.0   eth1
> 192.169.0.0        *       255.255.255.0   eth0
> 127.0.0.0  *       255.0.0.0       lo
> default            pc1-far.0.0.0.0         eth1

so according to this routing table. Your LAN ip are 62.252.22.x and the
default route (last line) is sending all other IP packets down the netgear
eth1 to pc1-far...., which never works because it needs to go down eth0.

I would first clarifiy the IP addresses, is it really 192.169.x.x  and should
that be assigned to the 3Com. use ifconfig to check the interfaces.

karl.

 
 
 

1. ksh...newbie alert..newbie alert

Hi All:
How would one test for an occurence of a given string within a field?

I use a script to notify network administrators if a print server in their bailiwick is down. If I don'r know the users name, I insert xxxx in a field.

Ex:
# get the network administrator
    cut -d' ' -f3 /home/smartin/device > address.$i

what I want to do is if f3 contains xxxx, then don't stuff the name into address.
TIA any and all comments, suggestions, whatevers.
Sam

2. mouse sensativity under xfree

3. Getting Integrated Network Adapter to Work With RH7.1

4. prompt change after su?

5. how do 'plug-ins' work?

6. SSI

7. After linux's network works, win XP's network cannot work ?

8. Workshop 5.0 strange old/new iostreams problem.

9. problem getting two networks working.

10. Getting two wireless AP's to work together for laptop and linux workstation

11. Newbie alert: problem getting ld to link with ld-linux.so.2

12. Newbie Alert!! Two dumb questions.

13. trouble getting two NIC's to work together