Directly connecting RH9 box to ISP (cable), then off to a router to rest of lan?
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.
Directly connecting RH9 box to ISP (cable), then off to a router to rest of lan?
I've been toying around with Linux for about two months now. I've read some books, some articles online, this board numerous times, etc. etc. But now I want to try something else.
I want to run a web server off my RH9 computer, and after installing Apache, I quickly realized typing my IP would forward to my Linksys Router (BEFW1154 - Wireless router w/ 4 port switch).
Now I'm trying to figure out if I can run the cable connection to my RH9 box, then out to my router, then out to the rest of my network (one XP wired computer, one XP wireless, one Win98SE wired, and one Mandrake wired). I've already established a Samba connection to the rest of the network with both my Linux computers, so I hope that means they would still work under this new configuration. Right now the cable line goes right to the router then off to the rest of the network.
I have already installed another ethernet card in my RH9 box, bringing the total to 2.. So I figure I could have eth0 connect to my private LAN, and eth1 going to the cable modem. But before I do all this rewiring and calling my cable company to change MAC addresses in their files, I was just wondering if that is all possible, and still retain wireless capabilities. Also, I'm not positive what to use, from what I've read IP tables are good, so a push in the right direction would be appreciated.
Does your router do port forwarding? If it does, then this is the easiest way to server web pages from a system that is being NAT'd. Just tell your router to forward port 80 to the IP addy of your RH 9 box, and then you can access the page using the external IP addy of the router.
If your router doesn't do port-forwarding, then you'll need to tell the RH box to be a router. It can route all packets (excluding port 80 of course) to teh internal network via the router, whch can then do NAT for the rest of the network.
I don't know why I couldn't think of that. It does indeed support port forwarding, and I didn't even think of that! Thank you so much for saving me much needed time and hassle.
I love how the most obvious answers are always oblivious to me.
I have a similar-different situation. My proxy & gateway is RH9, LAN is 192.168.1.X on eth0, cable is ppp0 primarily for uploads, & downlinks is through pentaval0 (dvb). Now working with squid is a slow solution relative to internet gateway solution. it works with squid but i want to take advantage of the fast internet connectivity as that experienced at the server which goes via gateway instead of squid.
How do i represent pentaval0, ppp0, eth0 in iptables so that my LAN ups its speed? In other words, so that i circum~navigate proxying ...?
Now that I think about it, is it possible to set my computer to a static IP so I don't have to worry about reassigning it to the router? I know I use DHCP normally but I switch computers in my room all the time so I don't want this computer ( the RH9 one) changing IP's on me. Thanks!
Yeah.... that shouldn't be a problem, although I don't think you would have to worry about the IPs changing, even with DHCP. DHCP leases on a small network rarely if ever change.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.