LinuxQuestions.org
Visit Jeremy's Blog.
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 10-05-2001, 04:45 AM   #1
NiM
Member
 
Registered: Aug 2001
Location: UK
Distribution: Mandrake 8.0
Posts: 33

Rep: Reputation: 15
Blueyonder Cable


Hi,

I asked about blueyonder a while ago... Just needed to ask a few more things...

My windows computer burnt out, so the technitions said they will put it on Linux (if I basicly do it for them)

Soooo...

1) How do I make eth1 the default route for all internet dns & IPs?

2) How do I set up dhpcd?

I have to learn this for the install tomorrow morning :|

Thanks,
- Nick
 
Old 10-05-2001, 06:01 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
You need to make sure the router FIB table is setup correctly for all packets.

# ISP_routers_name = your router that has internet access
# eth0 is the interface that connect to that router
route add default gw ISP_routers_name eth0

You all need to allow ip packet forwarding so it can act as a router.
echo 1 > /proc/sys/net/ipv4/ip_forward

Install dhcpd and run "man dhcpd"
blueyonder runs there own DHCP service on the cable modem, so your Linux box doesn't need to do this.

ps. the Modem is tied to the MAC address of the network Card, it won't work unless someone from blueyonder changes it, that's if you have a new NIC.

Then point all the PC's to use the Linux boxes internal IP address as the default router.

The Linux box will also need to do NAT if you don't use External ip address in your internal LAN, like 192.168 10 172.16


/RAz
 
Old 10-05-2001, 09:55 AM   #3
NiM
Member
 
Registered: Aug 2001
Location: UK
Distribution: Mandrake 8.0
Posts: 33

Original Poster
Rep: Reputation: 15
Yeah...

Ok...

So, forget IP MASQING for a minute...

Just basic installation...

I plug them modem in to eth1...

At the moment if I type: lynx linuxquestions.org it will try to use eth0 to access this site... I want it to use eth1 instead...

And so, I just forget dhcpcd? or do I run dhcpcd -i eth1?

- Nick
 
Old 10-08-2001, 08:56 AM   #4
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
ok..

dhcpcd is going to get the IP address from there DHCP server.

"dhcpcd uses the network interface eth0 unless an explicit name is specified." from man page

So start with.

# requests IP release
dhcpcd -k
# interface should be 0.0.0.0 waiting for new lease.
dhcpcd eth1
# requests new lease on interface eth1.


I don't know if the syntax is correct as I never use DHCP on Linux boxes, due to the lack of security in authentication.

/Raz
 
  


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
connecting with blueyonder & a few other queries BlakOps Linux - Newbie 3 05-15-2005 05:47 AM
blueyonder broadband mojola Linux - Hardware 3 05-03-2005 10:45 AM
Can't access Blueyonder Email under Mandrake Linux 10.0 , can under XP KenMac Linux - Newbie 2 11-21-2004 02:41 PM
blueyonder broadband router using sb5100 modem solar_neutrino Linux - Networking 1 10-10-2003 05:53 AM
blueyonder users please? Genedefekt Slackware 1 08-05-2003 04:56 AM

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

All times are GMT -5. The time now is 10:58 PM.

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