LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Routing ppp and a null modem cable

[ILUG] Routing ppp and a null modem cable

Paul Jakma paul at clubi.ie
Mon Aug 16 19:29:29 IST 2004


On Mon, 16 Aug 2004, Bryan O'Donoghue wrote:

> Box 1 and 2 can ping each other respectively.
>
> Box 1 has an interface called eth0 with 10.100.100.22 as it's ip.
>
> I still have to do a route add -net default gw 192.168.3.1 to Box 2 and even 
> after I do that, I can't ping any 10.100.100.x ips.

You should be able to ping  10.100.100.22 though, right?

As for the rest of the  10.100.100.x machines, is Box1 their default 
gateway? If not, they all need either a route for Box2 192.168.3.2/32 
via box1, or else their default to go via box1.

 	ip route add 192.168.3.0/30 via 10.100.100.22

Also, make sure box1 has ip_forward enabled:

 	echo 1 >  /proc/sys/net/ipv4/conf/all/forwarding

or if your distro has /etc/sysctl.conf:

 	echo 'net.ipv4.conf.all.forwarding = 1' >> /etc/sysctl.conf

 	sysctl -p

> But it doesn't...

Cause machines on the 10.100.100.x network probably either have no 
idea which direction 192.168.3.2 is, or their default route goes 
somewhere else, or box1 is not doing forwarding.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
I always wake up at the crack of ice.
 		-- Joe E. Lewis



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell