LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-10-2004, 03:53 AM   #1
trekgraham
LQ Newbie
 
Registered: Apr 2004
Location: Woodstock,IL USA
Distribution: Ubuntu 8.04 Hardy
Posts: 20

Rep: Reputation: 0
Question Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o


First off, I have tried using ifconfig and route to add them in like i would if I had a T1 or other similar line. SBC gave me a 2Wire Officeportal which is basically a dsl modem/4 port router. When i manually assign the ip, it doesnt want to recognise it, and some how confuses the modem into thinking its the new ip for the box, and gets rid of the main ip. I have 5 static ips which are assigned by the modem, by pppoe login, i have tried all i can think of, i cant figure out how to set more then one ip on one machine. I know there must be a way to do this, please if anyone has any ideas, let me know... sbc's tech support has left me high and dry, here is what ive done, ifconfig eth0:1 ipaddress gw gwip(according to the modem, tried multiple alternatives) then route add -host ipaddress dev eth0:1) This pretty much gets rid of all connectivity. Any advice?
 
Old 12-11-2004, 06:35 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
ifconfig eth0:1 ww.xx.yy.1 netmask 255.255.255.0 up
ifconfig eth0:2 ww.xx.yy.2 netmask 255.255.255.0 up

etc...
 
Old 12-14-2004, 06:51 PM   #3
trekgraham
LQ Newbie
 
Registered: Apr 2004
Location: Woodstock,IL USA
Distribution: Ubuntu 8.04 Hardy
Posts: 20

Original Poster
Rep: Reputation: 0
tried that, problem is the ips are controlled by the modem, by the pppoe interface, somehow the isp controls the ips through the modem, i have tried both ifconfig with an alias and using route alongside it, no good, modem just messes the ips up.
 
Old 12-15-2004, 09:12 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
I thin I misunderstood the question.

You have 5 static ip's.
You have a modem/4-port router.

So one ip is for the modem and the other 4 are for your computers?

You just set up each computer with it's ip address. You set the default gw to the ip of the modem/router. You set the dns numbers to whatever SBC gives you.
 
Old 12-15-2004, 11:47 PM   #5
trekgraham
LQ Newbie
 
Registered: Apr 2004
Location: Woodstock,IL USA
Distribution: Ubuntu 8.04 Hardy
Posts: 20

Original Poster
Rep: Reputation: 0
thats right,
just even when setup properly, the modem screws up the ips, all the ip addresses are assigned by the modem/router
(a 2wire OfficePortal). it makes me think that they only will allow one ip per machine, which sucks majorly
i never had this much trouble with my T1
of course i didnt i was paying 6 times as much then
 
Old 12-16-2004, 08:34 AM   #6
Rob Roye
Member
 
Registered: Mar 2004
Location: Mishawaka, IN
Distribution: SuSE 9.0, 9.1, 9.2
Posts: 38

Rep: Reputation: 15
We have the exact same setup, but SBC supplied us with a Netopia Cayman router to handle that part of it. We put it in bridge mode and then just set the static IP addresses on each server. I'm not sure how, but can you use the routing in Linux to handle the PPPoE and not use NAT - then set the IPs on each machine behind it? Other than that I'm not sure. SBC should not have sent to a 2Wire, they should have sent a Cayman. That is what they do here and it works very well, not to mention being easy to set up.
 
Old 12-31-2004, 11:16 PM   #7
indy1979
LQ Newbie
 
Registered: Nov 2004
Location: Conyers
Distribution: Fedora Core 3
Posts: 17

Rep: Reputation: 0
Type this into the browser:

gateway.2wire.net/management

That will get you into the management console to turn the modem in to bridge mode.

Sam
 
Old 04-17-2007, 10:44 AM   #8
awoodby
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
more help?

Greetings.

I'm having this same problem. I have a newer firmware revision I believe and have no "bridge network" item. I have

public routed subinterface

and

um public routed nat/proxy i believe (not on that network right now)

if I set it to the second option my system with one nic online under public routed subint, the system can't be reached from outside. Also when I look at ip's and even hit ok it tells me i have two systems on the same ip (which I don't, there are 2 dhcp systems and only one nic up on the linux box)

any input would be highly helpful as I NEED to get this up with more than one IP asap!

Thanks!

--Alex
 
Old 04-17-2007, 10:51 AM   #9
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
If you have a bridge ADSL modem then you need to setup your router to connect via pppoe and also to do the nat translation. You can get a cheap dsl router to do this then connect all your lan computer to the router or you can use a linux dual-homed box with a switch to do the same thing.
 
  


Reply



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
Multiple static IP addresses fr0zen Linux From Scratch 5 11-23-2005 06:47 PM
assign static ip allelopath Linux - Software 1 04-27-2005 07:04 PM
assign static IP to the server ashley75 Linux - General 2 03-10-2005 03:47 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
Howto assign multiple ip addresses to eth0 in Mandrake 10???? tictocdoc Mandriva 3 05-07-2004 03:00 PM

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

All times are GMT -5. The time now is 06:25 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