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 01-28-2005, 08:24 PM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
Im sure you are sick of these easy ones but


Lan cant ping server and vice versa
eth0 internet
eth1 LAN (192.168.0.1) which connections to a wireless AP (192.168.0.5)

I have internet access
eth1 cannot ping AP or anything else.
everything else on the LAN can ping the AP.

[root@linux root]# ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
From 192.168.0.1 icmp_seq=2 Destination Host Unreachable

and I do have a link light from AP to linux box.

any suggestions?
TheGNUbie

Last edited by ryedunn; 01-28-2005 at 08:29 PM.
 
Old 01-28-2005, 08:36 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Post ifconfig -a and we will go from there.
 
Old 01-28-2005, 08:42 PM   #3
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
[root@linux root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:30:F1:20:1D:5B
inet addr:24.14.246.21 Bcast:255.255.255.255 Mask:255.255.240.0
inet6 addr: fe80::230:f1ff:fe20:1d5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1536 Metric:1
RX packets:108071 errors:0 dropped:0 overruns:0 frame:0
TX packets:2492 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7968287 (7.5 Mb) TX bytes:333505 (325.6 Kb)

eth1 Link encap:Ethernet HWaddr 00:03:47:F8:59:3F
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::203:47ff:fef8:593f/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4200 (4.1 Kb)
Interrupt:11 Base address:0xc000

eth2 Link encap:UNSPEC HWaddr 00-11-06-00-00-02-06-01-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20488 errors:0 dropped:0 overruns:0 frame:0
TX packets:20488 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2848300 (2.7 Mb) TX bytes:2848300 (2.7 Mb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 01-28-2005, 09:04 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Whats eth2?
 
Old 01-28-2005, 09:05 PM   #5
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
on board network card that dont work.
 
Old 01-28-2005, 09:15 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Can you configure the AP from a browser?Is it like this;
internet-ap-box1-box2?Is this it
or is it internet-linux-ap-box1-box2

Last edited by comprookie2000; 01-28-2005 at 09:20 PM.
 
Old 01-28-2005, 09:21 PM   #7
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
I can configure it from the LAN (192.168.0.2), not from the Linux box (192.168.0.1)

yes thats the one.
 
Old 01-28-2005, 09:37 PM   #8
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
I think I might have eth1 and eth2 confused... Im going to try to swap the two.
 
Old 01-28-2005, 09:37 PM   #9
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
I think you need to set up the linux box as a dhcp server or point the default gateway of the router to 192.168.0.2 and if the routers address is 192.168.0.5 dhcp should work for the other boxes.Also set the linux box to share a internet connection with a firewall like guarddog or firestarter or set up iptables.Check this out

Last edited by comprookie2000; 01-28-2005 at 09:40 PM.
 
  


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
Patrick is sick and needs help Barx Slackware 1 11-18-2004 04:46 AM
So sick of xp.... going to mandrake silverbullet Linux - Software 3 09-16-2004 03:35 PM
ok im sick of this (regarding AIM) BmxFace Linux - General 12 07-02-2003 06:34 AM
I am SICK of KOnCD markhall Linux - Software 0 06-09-2003 02:19 AM
can TUX get sick??? ranixlb Linux - Security 2 11-24-2002 03:42 PM

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

All times are GMT -5. The time now is 05:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration