Anyone?
This is easy! I KNOW it's easy. I have one running at home, and it works great. I've just missed something really dumb.

The setup:

A RH 8.0 box with 2 NICs. 1 with a real address connected to the network, the second with a dummy IP (192.168.100.1) that runs a crossover to another box.

I turned on ip_forwarding

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

I enabled the card, and set it to route through the first.

#> cat /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
BROADCAST=192.168.100.255
NETWORK=192.168.100.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
IPADDR=192.168.100.1
NETMASK=255.255.255.0
GATEWAY=132.228.132.38

A quick look at route:

#> route -n

Kernel IP routing table
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
132.228.132.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 132.228.132.1 0.0.0.0 UG 0 0 0 eth0


Looks normal enough.

And iptables is NOT running, so nothing is blocked.

Then on the "client" pc, I set it to route through the primary IP of the "sever".

NO go.

What did I miss?


Thank you!

Ric


Tibbetts, Ric wrote:
All;
I need a simple way to just "pass packets". I have 3 devices, and two network drops. (yeah, same old story). My RH 8.0 box has two nics in it, so I thought I could set one up to just play "dumb hub", and pass packets to one of the the other boxes. Both boxes have, and need, static IPs. (the extra NIC is currently unassigned, and unused, so I can do anything with it).

Is there a "simple" way to do this? I don't need any firewalling, or IP masq'ing, or any of that. It just needs to play hub, and pass packets.

Thank you!

Ric




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to