Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. I really really need some help here.. I'll try to explain it the best that I possibly can, but take in mind, I'm a real n00b. I built a custom router,and I'm trying to get it to.. well. route. :P
I'm running Slackware 9.
I have a PPP connection, called "ppp0". And I have 2 ethernet cards. I already have the ethernet cards ips set up, so that's all set..
Now, I have tried many scripts for IPMASQ.. but I JUST can't get it to work.. could someone write a script for me (Remember I'm an idiot) to share
"ppp0" to "eth0" and "eth1" using the IPs in the ifconfig I posted above.. please.. I've been struggling with this for days..
Heh. Doesn't work either way. My Windows box which is hooked up via crossover cable isn't receiving internet, it's plugged into eth0, and has it's gateway set to 192.168.0.1 .. It can SSH into my router and such, just no internet.
Excuse me...
I didn't understand well what did you tried to do...
I guess your configuration is INTERNET<-->LINUXBOX<--->WINDOWSBOX
is this correct?
What are you using to access to your ISP, ADSL? or Dialup MODEM
My box is acting as a switch/router. It has dialup modem in it, connected to my ISP, therefore generating the connection "ppp0".
I have 2 ethernet cards. One to connect to my dad's computer (XP), and one to connect to my computer (XP).. I'm trying to share ppp0 to them. Up above, I have the IPS set for my ethernet cards.. so that's what I need the iptable entries to go by..
P.S: Sorry if my last sentence didn't make sense, I'm really n00by. :P
Try this:
ping 216.109.118.69
if it works the problem is that you didn't setup your DNS information in your windows box. It should be the same of your ISP.
If it doesn't tell me what program are you using to connect to your isp in your Linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.