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 07-08-2003, 12:04 PM   #16
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15

eth0 Link encap: Ethernet HWaddr: 00:03:FF:F5:FF:FF
inet addr: 192.168.131.74 BCast: 192.168.131.255 Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 METRIC:1
RX Packets: 3 Errors:0 Dropped:0 Overruns:0 Frame:0
TX Packets: 3 Errors:0 Dropped:0 Overruns:0 Carrier:0
Collisions:0 Txqueuelen:100
RX Bytes: 500 TX Bytes: 500
Interrupt:11 Base Address: 0x8000

lo Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 METRIC:1
RX Packets: 72 Errors:0 Dropped:0 Overruns:0 Frame:0
TX Packets: 72 Errors:0 Dropped:0 Overruns:0 Carrier:0
Collisions:0 Txqueuelen:0
RX Bytes: 4964 TX Bytes: 4694
 
Old 07-08-2003, 12:13 PM   #17
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
i dont know if it makes a difference but ipconfig /all returns this result on the coexisting windows xp OS:

C:\Documents and Settings\Michael>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : mike
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : ym.phub.net.cable.rogers.com
Description . . . . . . . . . . . : ASUSTeK/Broadcom 440x 10/100 Integra
ted Controller
Physical Address. . . . . . . . . : 00-E0-18-E9-EC-AC
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 24.156.186.153
Subnet Mask . . . . . . . . . . . : 255.255.254.0
IP Address. . . . . . . . . . . . : fe80::2e0:18ff:fee9:ecac%4
Default Gateway . . . . . . . . . : 24.156.186.1
DHCP Server . . . . . . . . . . . : 24.153.23.11
DNS Servers . . . . . . . . . . . : 24.153.23.66
24.153.22.67
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Lease Obtained. . . . . . . . . . : July 8, 2003 1:05:38 PM
Lease Expires . . . . . . . . . . : July 15, 2003 1:05:38 PM

Tunnel adapter 6to4 Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . : ym.phub.net.cable.rogers.com
Description . . . . . . . . . . . : 6to4 Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 18-9C-BA-99
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 2002:189c:ba99::189c:ba99
Default Gateway . . . . . . . . . : 2002:836b:213c:1:e0:8f08:f020:8
2002:c058:6301::c058:6301
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Automatic Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . : ym.phub.net.cable.rogers.com
Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

Physical Address. . . . . . . . . : 18-9C-BA-99
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : fe80::5efe:24.156.186.153%2
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Disabled
 
Old 07-08-2003, 12:17 PM   #18
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
well mikey the way you have the network configured, the machine is not going to get an ip.

Modem -> Switch -> Computer

is natting, and you would have ask your isp what nat address(s) they gave you. Otherwise, you must plug your linux machine directyly into the cable modem.

Reset the modem, type service network restart, once the modem reset.

You could, and i highly recommend it, setup your linux machine as a router, (i do at my home with a transparent proxy)
 
Old 07-08-2003, 12:23 PM   #19
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
i put it modem-------computer and i still cant get it working and i did all of that
 
Old 07-08-2003, 12:25 PM   #20
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
vi /etc/sysconfig/network-scripts/ifcfg-eth0

whats in it ?
 
Old 07-08-2003, 12:35 PM   #21
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
device=eth0
bootproto=dhcp
onboot=yes
userctl=no
peerdns=yes
type=ethernet
 
Old 07-08-2003, 12:38 PM   #22
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
i wish the pm's worked on this board.

looks like we got a stumper for a while..

service iptables stop

retry plugin the cable modem directly into the linux, reset the power to the modem

service network restart

and give us the read out of
ifconfig

try
ping yahoo.com

that should work
 
Old 07-08-2003, 04:06 PM   #23
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Rep: Reputation: 15
If not, try ping 66.218.71.198.
 
Old 07-08-2003, 05:41 PM   #24
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
when i ping i get replies but the internet sites dont connect and the ip address is still wrong... it is: 192.168.131.74 and it should be:24.156.186.153. these arent real addresses but theyt are close to normal as i dont enjoy giving out my ip that easily so just incase anyone thinks that they are going to have an easy time i have been changing ips in my posts all along (not that i dont trust the people who are elping, im just paranoid)
 
Old 07-08-2003, 06:02 PM   #25
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
well... here comes a strange answer, did you install dhcpd on the linux machine? it may be giving itself an ip, instead of the modem.

service dhcpd stop
 
Old 07-08-2003, 07:29 PM   #26
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
If I'm reading correctly, there is only one interface on the Linux box? If so this is a bit tricky.

You should be able to plug the modem to the switch to Linux, but then all your boxes will be accessible from the Internet, no firewall.

You need to tell the XP boxes to not automatically get an IP address. You need to hardcode their IPs. Linux should get it's IP automatically. Then you have to setup a virtual interface on Linux (ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255) and add the default route on the XP boxes to point to the 192.168.0.1. You'll need to have IP forwarding turn on. I don't know if you'll need proxy ARP or not, off the top of my head.
 
Old 07-08-2003, 07:33 PM   #27
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
If he's pinging and getting replies, he doesn't have DNS configured properly. That's it, that's the end of the story

Last edited by bax; 07-08-2003 at 08:58 PM.
 
Old 07-08-2003, 10:04 PM   #28
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
so how do i configure the dns?
 
Old 07-08-2003, 10:28 PM   #29
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Seriously, do some Googlng every once in a while. Oh well, maybe you'll learn from this. In command line, type neat and hit enter. You can figure it out from there.
 
Old 07-09-2003, 11:09 AM   #30
mikey_man380
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
i am learning a lot from this and i appreciatre everyone who is helping me
 
  


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
Cable modem problem Amuro-Ray2020 Linux - Hardware 0 06-01-2005 01:44 AM
cable modem problem usman88 Linux - Newbie 3 04-08-2005 02:39 PM
problem with cable modem fatcatis Linux - Networking 0 05-04-2004 10:48 PM
cable modem problem figadiablo Slackware 1 11-14-2002 11:31 PM
cable modem problem mrcracky Linux - Networking 0 01-02-2002 06:41 PM

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

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