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 08-11-2001, 01:27 AM   #1
xmutex
LQ Newbie
 
Registered: Aug 2001
Location: Seattle, WA.
Posts: 2

Rep: Reputation: 0
Cisco 678 modem/router and Linux server Q


So I used to have cablemodem, and happily ran my own domain server, doing my e-mail/web stuff.

I moved across the country and now have DSL. I was supplied with a Cisco 678 modem/router.

My dilemma: in the cablemodem days, eth0 had the external IP and eth1 was the IP masquerading for my two other boxen.

Now it seems my Cisco does all the PPP dialup, thusly it receives the external IP and then I can get a LAN with a hub.

I don't think I want this. I want all traffic to my IP to go through my Linux box. I can't get but one IP through Qwest, so I'm not sure if this situation is salvageable.

Any info/flames appreciated
 
Old 09-03-2001, 04:27 AM   #2
_Ec|ipsE_
LQ Newbie
 
Registered: Sep 2001
Location: Colorado Springs
Distribution: SuSE
Posts: 1

Rep: Reputation: 0
DSL woes

Well, you have a few options when it comes to solving your problem...

The option I would suggest is switching ISP providers to one that uses bridging mode instead of PPP mode. Bridging mode makes the router invisible from an IP standpoint, and your home network will be directly connected to the net.

The setup I use normally is a 675 with bridging mode connected directly to the net, then in my server I have 1 NIC with 2 IP addresses assigned to it. The first address uses DHCP and fetches the external IP from my ISP. The second address is a local IP (192.168.0.1 for example).

Then, all you have to do is assign local addresses to your other systems... setup IP Masq as you would normally do, and you're off!

Your other systems will not be able to communicate with the internet directly, even though they are all on the same hub, and you only have 1 NIC in your server.

If you wish to stay with your current provider...

By default, the 678 will use a 10.0.0.x setup for it's local IPs, with the router being assigned 10.0.0.1 - all you have to do is use 10.0.0.2 (or DHCP) for the first interface on your server, and then on your second, use a different class of local IPs (i.e. 192.168.0.x). This way there is no way that they will be able to communicate directly with the router. Then, on your server, make 10.0.0.1 your gateway, and on the other systems, make your server's 192.168.0.x IP the gateway... your all set.
 
  


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
cisco router messing my lan server around nephish Linux - Networking 4 08-02-2005 10:56 AM
Hooking a Cisco 2501 router to a cable modem tangle Linux - Hardware 1 02-09-2005 08:55 PM
Cisco Router and Fedora Linux? carlosinfl Linux - Networking 4 06-30-2004 09:42 PM
Cisco Router with Linux Distro Gerardoj Linux - Networking 3 08-31-2003 08:44 PM
Linux or Cisco 678 NAT? salathe Linux - Networking 2 10-09-2001 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration