On Fri, Feb 09, 2001 at 02:03:24PM -0600, Mikkel L. Ellertson wrote:
> Do the computers on your internel network have routable IP addresses, or
> are you using one of the private IP ranges for your internel network?
> Unless you are getting extra IP address from your cable company, you
> should be doing the later. If so, you should read the IP-Masquerade
> HOWTO. I would also recomend the IPCHAINS-HOWTO.
I have essentially the same problem, and have spent considerable
time trying to get it to work with no success.
I have a cable modem connected to my Red Hat 7 box on eth0, and eth1
connecting to a 5 port hub which I'd like to setup on the 192.168
private ip's and do masqerading for. Here's my applicable files:
[ifcfg-eth0]
DEVICE="eth0"
BOOTPROTO="none"
BROADCAST=24.14.246.127
IPADDR="24.14.246.95"
NETMASK="255.255.255.128"
NETWORK=24.14.246.0
ONBOOT="yes"
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
[ifcfg-eth1]
DEVICE="eth1"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
NETWORK="192.168.1.0"
I do have masqerading rules running for the ipchains setup I'm
running. I've setup the 2 client machines as 192.168.1.101 and
192.168.1.102, and have both pointing to eth1(192.168.1.1) as their
gateway, and my cable providers DNS servers. Can anyone tell me
what my flaw is? The 2 machines have no luck talking to the
internet connected this way. Are there some route commands needed
here or something? I do show lots of errors on eth1 on an ifconfig:
eth0 Link encap:Ethernet HWaddr 00:50:BA:04:73:79
inet addr:24.14.246.95 Bcast:24.14.246.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6068 errors:0 dropped:0 overruns:0 frame:0
TX packets:5573 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:A0:CC:E8:2A:BD
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1068 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16128 Metric:1
RX packets:1721 errors:0 dropped:0 overruns:0 frame:0
TX packets:1721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Any and all help is greatly appreciated!!
TIA,
jdk
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list