LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   routing problem - pls help (https://www.linuxquestions.org/questions/linux-networking-3/routing-problem-pls-help-55291/)

Z@host 04-16-2003 06:58 AM

routing problem - pls help
 
Hy.
my net configuration looks like that:
dev=eth0
ip=112.93.133.143
mask=255.255.255.0
gw=112.93.133.1

and
dev=eth1
ip=81.96.229.1
mask=255.255.255.224

I have registered 81.96.229.0/24 addresses.
I have a cable connection, linux box eth0 is linked to the modem.
Also i have 5 pc's with ip 81.96.229.2-6.

Now what should I do to go outside(internet) with this ips, not the ip of the eth0.Masquerading is ok, but i can't join a mirc channel with more than 3 comp.

PLS CAN ANYONE HELP ME?

dorian33 04-16-2003 11:53 AM

just do the forward without masquarading (remove the rule from iptables)

mychl 04-16-2003 11:57 AM

Re: routing problem - pls help
 
Quote:

Originally posted by Z@host
Hy.
my net configuration looks like that:
dev=eth0
ip=112.93.133.143
mask=255.255.255.0
gw=112.93.133.1

and
dev=eth1
ip=81.96.229.1
mask=255.255.255.224

I have registered 81.96.229.0/24 addresses.
I have a cable connection, linux box eth0 is linked to the modem.
Also i have 5 pc's with ip 81.96.229.2-6.

Now what should I do to go outside(internet) with this ips, not the ip of the eth0.Masquerading is ok, but i can't join a mirc channel with more than 3 comp.

PLS CAN ANYONE HELP ME?

Uhh, why are you using 81.96.229.x? Unless you want to have 6 external IP addresses.

You probably want to use non-routable IP addresses for your internal PC's, like 10.0.0.0 or 192.168.0.0.


Good Luck

Robert0380 04-16-2003 01:01 PM

mychl, he already owns the addresses, he might as well use em. Like dorian said, he just needs to turn off masquarading.

mychl 04-16-2003 01:13 PM

Quote:

Originally posted by Robert0380
mychl, he already owns the addresses, he might as well use em. Like dorian said, he just needs to turn off masquarading.
Yeah, I thought he wanted the opposite of what he really asked....

:eek:


All times are GMT -5. The time now is 03:07 PM.