LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2008, 08:40 PM   #16
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752

I notice that you have also been posting in the Networking forum.
http://www.linuxquestions.org/questi...-pppoe-634763/
You appear to have a Billion product (after googling the HW version), so it is either an ADSL modem or an ADSL modem/router.
I think that your problem arises from your gateway setting for your NIC card at eth0.
The NIC card needs to communicate to the modem at 192.168.1.1.
In your /etc/rc.d/rc.inet1.conf set this:
Code:
# Config information for eth0:
IPADDR[0]="192.168.1.2"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
...
Code:
# Default gateway IP address:
GATEWAY="192.168.1.1"
 
Old 04-14-2008, 02:18 AM   #17
svar
Member
 
Registered: Jul 2003
Posts: 362

Original Poster
Rep: Reputation: 30
Thanks allend, it worked
so it was the eth0 config that was wrong.

(ifconfig eth0 192.168.1.6 netmask 255.255.255.0 broadcast 192.168.1.255)

interestingly enough I got these from the ubuntu ifconfig

Just to make sure I understand it correctly:
IPADDR[0]="192.168.1.2"

also something like 192.168.1.6 as used by Ubuntu should be ok

netmask ok, but where did you get the gw value from?
 
Old 04-14-2008, 02:44 AM   #18
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Think of it this way.
Your system wants to send a packet to a destination IP address. It consults the routing table for information on how to send the packet. If the destination is not specfically configured in the routing table, then it sends the packet to the default gateway.
In your case, your internet traffic needs to be sent to your modem at 192.168.1.1. The modem then sends this off to the internet.

To communicate to your modem, the information has to pass via your NIC, which you want to configure to a local IP address to suit your modem. Any 192.168.1.x value will do, except for x=0,1 or 255.

Glad it worked!
 
Old 04-14-2008, 06:36 AM   #19
svar
Member
 
Registered: Jul 2003
Posts: 362

Original Poster
Rep: Reputation: 30
Ok, I understand the routing, the question was about the broadcast. I guess

192.168.1.255 comes from the netmask complement, i.e. (not 255.255.255.0)=
(0.0.0.255) bitwise OR'd with the IP address 192.168.1.2
which is 192.168.1.255,as you said.
Thanks!
 
  


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
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
Manual setup of adsl with ethernet chronoss Mandriva 5 10-07-2005 05:39 PM
Need help with ethernet setup in Gentoo( During setup proccess) MimiMimi Linux - Distributions 2 07-19-2004 01:34 PM
prblms with ADSL setup. no luck after adsl-setup and netconfig Blue_muppet Slackware 2 07-18-2004 01:20 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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