Forwarding with multiple ethernet cards

Forwarding with multiple ethernet cards

Post by Mirce » Sun, 16 May 1999 04:00:00



Yes, and don't forget:

echo "1" > /proc/sys/net/ipv4/ip_forward

MST


> ipchains -P forward DENY
> ipchains -A forward -s 192.168.17.0/24 -j MASQ



 
 
 

Forwarding with multiple ethernet cards

Post by Christian Armea » Mon, 17 May 1999 04:00:00


Hi,

I have 2 network cards installed in my linux box. She's meant to act as
a server for 2 windoze PCs. My actual problem is the configuration with
ipchains. Until now I couldn't manage to have the windows PCs see each
other, but each of them is able to get to the server (Samba), so
networking is working.
------------------------

The config is:

(route.conf)
192.168.17.0   0.0.0.0  255.255.255.0  eth0  ( IP: 192.168.17.1 ),
connected PC = 192.168.17.100
192.168.18.0   0.0.0.0  255.255.255.0  eth1  ( IP: 192.168.18.1 ),
connected PC = 192.168.18.100

ipchains -A forward -i eth0 -p tcp -s 192.168.18.0/24 -d 192.168.17.0/24
-j ACCEPT -b
ipchains -A forward -i eth1 -p tcp -s 192.168.17.0/24 -d 192.168.18.0/24
-j ACCEPT -b

------------

:-( IT DOES NOT WORK !!!

Any help will be highly appreciated,
Chris

 
 
 

Forwarding with multiple ethernet cards

Post by Joe Kellne » Mon, 17 May 1999 04:00:00


ipchains -P forward DENY
ipchains -A forward -s 192.168.17.0/24 -j MASQ

> Hi,

> I have 2 network cards installed in my linux box. She's meant to act as
> a server for 2 windoze PCs. My actual problem is the configuration with
> ipchains. Until now I couldn't manage to have the windows PCs see each
> other, but each of them is able to get to the server (Samba), so
> networking is working.
> ------------------------

> The config is:

> (route.conf)
> 192.168.17.0   0.0.0.0  255.255.255.0  eth0  ( IP: 192.168.17.1 ),
> connected PC = 192.168.17.100
> 192.168.18.0   0.0.0.0  255.255.255.0  eth1  ( IP: 192.168.18.1 ),
> connected PC = 192.168.18.100

> ipchains -A forward -i eth0 -p tcp -s 192.168.18.0/24 -d 192.168.17.0/24
> -j ACCEPT -b
> ipchains -A forward -i eth1 -p tcp -s 192.168.17.0/24 -d 192.168.18.0/24
> -j ACCEPT -b

> ------------

> :-( IT DOES NOT WORK !!!

> Any help will be highly appreciated,
> Chris

 
 
 

Forwarding with multiple ethernet cards

Post by Mirce » Tue, 18 May 1999 04:00:00


Well, that's a different story. It may have something to do with the
access settings/passwords. I'm just guessing here, I'm by no means a
Windows expert :) Umh...go to explorer, and try to find the other
computer by its name or IP address...then make a shortcut to it... Also
check your Samba configuration.

MST


> Wow, it almost worked :-( The PCs can now see each other, but as soon
> as I try to access
> the resources, windows keeps telling me they're not accessible !
> ( I also inserted the 192.168.18.0 network too );

 
 
 

1. Machine with multiple ethernet cards to Ethernet Switch (SS20/2.5)

I have a Sparc 20 with 2 ethernet interface cards. Right now only one
card
is being used. I would like to increase the network bandwith by
connecting
each ethernet card to a seperate port on a ethernet switch? If so how
do I set this up?

Thanks
Axel
--
#-----------------------------------------------------------------------------
# Axel Schweiger                                            
Tel:206-543-1312
# University of Washington                                  
Fax:206-543-3521
# Polar Science Center/Applied Physics Laboratory
# 1013 NE 40th Street                                      
# Seattle, Wa 98105                                  

#------------------The Polar Cap is not a
twist-off---------------------------

2. help!about sound in linux!

3. iptables forwarding with single ethernet card (help)

4. re _WHERE?

5. 2 EtherNet Cards and IP Forwarding

6. ptrace and set[pg]id()

7. two ethernet cards; ip forwarding

8. reading multiple files

9. OT: Are Cardbus Fast Ethernet cards REALLY FASTER than PCMCIA Fast Ethernet cards

10. 3COM ethernet card and NE2000 ethernet card

11. IP forwarding from ethernet to ethernet doesn't work ?

12. Same irq on multiple ethernet card

13. HELP Multiple ethernet cards in bsd box