LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-16-2003, 07:58 AM   #1
Z@host
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
Angry 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?
 
Old 04-16-2003, 12:53 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
just do the forward without masquarading (remove the rule from iptables)
 
Old 04-16-2003, 12:57 PM   #3
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
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

Last edited by mychl; 04-16-2003 at 12:58 PM.
 
Old 04-16-2003, 02:01 PM   #4
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
mychl, he already owns the addresses, he might as well use em. Like dorian said, he just needs to turn off masquarading.
 
Old 04-16-2003, 02:13 PM   #5
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
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....

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pls help with ip routing! DrMengele Linux - Networking 2 04-11-2005 06:32 PM
Help me pls, with ip routing! DrMengele Linux - Software 1 04-11-2005 05:58 PM
Pls. Help -- about routing table swmok Linux - Networking 3 08-17-2004 01:25 PM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 06:12 PM
SQUID as Httpd-accelerator, 2webservers, transparent routing problem. Pls help! sailor Linux - Networking 6 10-16-2003 11:08 AM


All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration