Matthew Reklau <[EMAIL PROTECTED]> wrote:
>
> First of all to connect to the internet I need to call a phone number
> which connects. my modem send all data traffic and my cable modem
> recieves incoming cable traffic.
Assymmetric routing. Sounds good.
> My cable modem Ethernet card has to have the ip of 10.0.0.1. I have this
> part working.
So you send traffic out the ppp0 interface and it returns on the eth0
interface? Okay, good.
> Right now I want to let my cable modem ip masquerade for 2 machines
> (192.168.0.37 and 192.168.0.69) which have setup as a gateway
> 192.168.0.1 which is the other ethernet card in my masquerading box.
Two hosts on one ethernet cable together? Got it. Makes sense.
> My question is how do I do this. Right now I cannot ping into or out
> of my linux box.
You mean you can't ping from 192.168.0.37 to 192.168.0.1? That isn't a
masquerade problem, if so.
> All ping requests are going through the cable modem.
How did you determine that?
If your default route points to the ppp0 interface, why would the
traffic be routed to the eth0 cablemodem?
> 1) Do I have to have different subnet masks setup for each address space
> (i.e 10.0.0.x and 192.168.0.x)?
You should have a subnet that's appropriate for each net, but I don't
think it's terribly important. A mask of 255.0.0.0 for 10.*, and
255.255.255.0 for 192.168.0.* would be adequate for your setup.
> 2) What routing command do I have to give it to make it masquerade through
> the cable modem (remember it has a telco return.)
Masq doesn't "send" anything anywhere. It merely reacts to a packet
being routed. Your route table determines where to send the packet.
How many times do I have to repeat that on this list? :)
> Does every card in my machine have to be 10.0.0.x in order to make it
> work.
No.
--
[EMAIL PROTECTED] (Fuzzy Fox) || "Nothing takes the taste out of peanut
sometimes known as David DeSimone || butter quite like unrequited love."
http://www.dallas.net/~fox/ || -- Charlie Brown
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]