I just got a cable modem and would like to run ipmasq or ipchains
through the linux box for the other computers on the LAN.  I have RH
6.1, ipchains 1.3.9.  I had it set up fine before the cable modem using
a dialup modem.  I used linuxconf to change the client network
settings.  I can see the modem and work fine with it if the IP address
is set to the assigned ip address by the provider (24.12.124.xxx), but
no other computers on the internal net (192.168.0.2, etc). If I change
the IP address of eth0 to 192.168.0.2, I no longer get the modem
connection.  In ipchains (actually, the script I use to start
ipchains),  it picked up on the ppp0 when it connected (I guess), there
is a line that says: echo "1" > /proc/sys/net/ipv4/ip_dynaddr. What is
the equivilent of that when you have a static IP.  My question is how do
you assign 2 IP addresses to one adapter ,24.12.124.xxx and 192.168.0.2,
so the modem sharing clients can use 192.168.0.2 as their router addr
and the modem sharer can actually use the real IP addr, 24.12.124.xxx.

This is the info the provider gave me:
Primary DNS: 24.2.212.12
Secondary DNS: 24.2.212.14
Default Gateway: 24.12.124.1
Netmask: 255.255.255.0
Broadcast Addr: 24.12.124.255
IP Addr: 24.12.124.xxx

Where do I put this info, whether through ifconfig or linuxconf, in
/etc/hosts and /etc/resolv.conf, etc.

Thanks,
Michael



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to