LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-18-2006, 10:25 AM   #1
Last Attacker
Member
 
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120

Rep: Reputation: 15
Yet another Gateway setup question ;p


Hello everyone!
You are all provably like : Man, not another guy asking this!
Well my question differs slightly.

I have an iBurst connection that has dynamic ip allocation on connection. Thanks to coaic, I can use iBurst in SuSE 10.0 but now I'm having a pain setting up my gateway. I was at 10 different sites and they just couldn't help me for weeks now (I didn't work so much on it every week because I had/have like 3 other projects to finish for next week). Really I have tried my best!
Even the textbook for my one cource in Linux "Red Hat Linux Networking and System Administration" had a paragraph or 2 about this subject but didn't help aswell.

Here is my situation:

My /etc/sysconfig/network/ifcfg-eth-id-00:d0:b7:85:42:71 file has the following info (eth0):
Code:
 BOOTPROTO='static'
BROADCAST=''
IPADDR='192.168.0.3'
MTU=''
NAME='Intel EtherExpress PRO/100+ Management Adapter'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='rBUF.HVgIlgOrmpC'
USERCONTROL='no'
_nm_name='bus-pci-0000:01:09.0'
PREFIXLEN=''
It was generated by YAST.

Now my eth1 interface has this (
/etc/sysconfig/network/ifcfg-eth1):
Code:
STARTMODE='hotplug'
BOOTPROTO=''
IPADDR=''
NETMASK=''
PREFIXLEN=''
REMOTE_IPADDR=''
MTU='1492'
NAME='iBurst User Terminal'
USERCONTROL='yes'
NETWORK=''
It had info but I guess when I created the dsl0 interface it got moved.

(/etc/sysconfig/network/ifcfg-dsl0):

Code:
BOOTPROTO='none'
DEVICE='eth1'
MODEM_IP='10.0.0.138'
NAME='DSL Connection'
PPPD_OPTIONS=''
PPPMODE='pppoe'
PROVIDER='provider0'
STARTMODE='manual'
UNIQUE=''
USERCONTROL='yes'
VPIVCI=''
My gateway is : 196.2.120.1

I need to set up the routing on my server aswell as IP masquerading.
Any help will greatly be appreciated!
O I have herd of firestarter for easy shared internet connections but this is for a project at university. Its almost done, I just have to get this routing thing working.

Thanks
 
Old 05-19-2006, 08:22 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
Quote:
Originally Posted by Last Attacker
My /etc/sysconfig/network/ifcfg-eth-id-00:d0:b7:85:42:71 file has the following info (eth0):
Code:
 BOOTPROTO='static'
BROADCAST=''
 IPADDR='192.168.0.3'
MTU=''
NAME='Intel EtherExpress PRO/100+ Management Adapter'
 NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='rBUF.HVgIlgOrmpC'
USERCONTROL='no'
_nm_name='bus-pci-0000:01:09.0'
PREFIXLEN=''
And
Quote:
My gateway is : 196.2.120.1
Different networks. Will not work with a subnet mask of 255.255.255.0, ip 192.168.0.xxx and gateway of 192.2.120.xxx. The subnet masks means that the only things you can see with that IP address is other IP's in the 192.168.0.xxx range.
You need to setup your IP to a subnet of your Gateway, i.e 192.2.120.xxx. Then they can talk to one another.

Sometimes, it's easy to over think things. I've done the same thing myself a few (read: many) times

Last edited by cwwilson721; 05-19-2006 at 08:25 PM.
 
Old 05-20-2006, 03:10 AM   #3
Last Attacker
Member
 
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120

Original Poster
Rep: Reputation: 15
Hmm...
But my eth0 is my local network interface and eth1 & dsl0 is my connection to the internet. Thanks but why can you have a local connection of 192.168.0.xxx and an internet connection of 196.2.xxx.xxx that works in Windows?
Thats the kind of thing that I'm trying to accomplish.

EDIT: Also my dsl0 ip changes the whole time and my eth1 doesn't even have an ip address.
Also what would be a simple way for ip masquerading... anyone?

Last edited by Last Attacker; 05-20-2006 at 03:12 AM.
 
Old 05-20-2006, 10:32 AM   #4
Last Attacker
Member
 
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120

Original Poster
Rep: Reputation: 15
Thanks to nic777, I have managed to get my home gateway working.
All I had to do was setup my firewall correctly and thats it. No routing, no nothing.
Check this site out : My thread @ mybroadband.co.za
 
  


Reply

Tags
gateway, router, suse


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
Help me setup this gateway/network ziggy25 Linux - Networking 9 02-24-2008 01:41 PM
How to setup a gateway fei Linux - Networking 1 02-03-2006 12:43 AM
Two gateway setup eqxro Linux - Networking 4 12-07-2004 01:32 AM
Linux RH 7.2 Gateway Setup goatr Linux - General 4 01-23-2002 12:17 PM
Gateway setup help! frost33 Linux - Networking 4 05-04-2001 07:55 PM


All times are GMT -5. The time now is 07:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration