LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-08-2009, 04:59 AM   #1
Wurzelseppi
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Canīt ping machines with dynamic IPīs


Hi folks,

iīm a total linux newbie, so please be patient with me :-)

I have to setup an openSuse 10 System and have been able to kick many many stones out of my way so far.
But now iīm stuck and need your help :-)

I can ping machines in the inet over name and ip

I can ping machines in my internal net when their ip - addresses are static

I canīt ping machines whose ip-addresses were provided by our dhcp - server

Any Ideas on that ?


Many many thanks in advance!


Greetings from Germany,

Wurzelseppi

Additional Info

ifconfig:

Code:
eth2      Link encap:Ethernet  HWaddr 00:50:56:3F:AF:BD
          inet addr:192.168.123.62  Bcast:192.168.123.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:190206 errors:0 dropped:0 overruns:0 frame:0
          TX packets:178556 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:47826370 (45.6 Mb)  TX bytes:100521089 (95.8 Mb)
          Interrupt:17 Base address:0x1400

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:334267 errors:0 dropped:0 overruns:0 frame:0
          TX packets:334267 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:471538096 (449.6 Mb)  TX bytes:471538096 (449.6 Mb)
 
Old 05-08-2009, 05:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
If you're trying to ping a machine by IP then it is totally irrelevant how that machine acquired their IP. If that machine can ping it's own default gateway then it will work between other machines too. It's possible there could be a dodgy netmask provided in teh lease or some such, but as you've not provided and dhcpd configs I can't comment there.
 
Old 05-11-2009, 03:33 AM   #3
Wurzelseppi
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
doh.... sorry...

this is the configuration of my dhcp pools (CISCO W 870)


Code:
show ip dhcp pool:
---------------------
Pool LAN :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0
 Total addresses                : 254
 Leased addresses               : 4
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased addresses
 192.168.123.107      192.168.123.1    - 192.168.123.254   4

Pool WLAN :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0
 Total addresses                : 254
 Leased addresses               : 1
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased addresses
 192.168.124.6        192.168.124.1    - 192.168.124.254   1


show run:
------------

ip dhcp excluded-address 192.168.123.0 192.168.123.100
!
ip dhcp pool LAN
   network 192.168.123.0 255.255.255.0
   default-router 192.168.123.1
   dns-server 192.168.123.5 192.168.123.1
   domain-name example.com
   lease 7
!
ip dhcp pool WLAN
   network 192.168.124.0 255.255.255.0
   default-router 192.168.124.1
   dns-server 192.168.123.5 192.168.123.1
   domain-name example.com
   lease 0 23

binding address (dhcp identifies that machine over MAC and gives it always the same ip)

ip dhcp pool Printer
   host 192.168.123.103 255.255.255.0
   hardware-address 0100.0048.d18a.04
   default-router 192.168.123.1
   dns-server 192.168.123.5 192.168.123.1
   domain-name example.com
   lease 0 23

Again, the problem is, that i can ping the printer which has an ip binding over its ip address, but i canīt ping for example my machine (which gets its ip over dhcp pool LAN and has 192.168.123.104 atm and NO firewall activated....canīt ping workstations of my workmates either)

On the other i can ping an other Suse Machine which has its ip from the dhcp pool LAN.

Donīt understand that :-(


Thanks in advance.


Greetings,

Wurzelseppi
 
Old 05-13-2009, 07:11 AM   #4
Wurzelseppi
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
nobody anymore ?


Many thanks in advance for every reply!
 
Old 05-13-2009, 08:26 AM   #5
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
I am interested in the anser to this question. "Bump"
 
Old 05-13-2009, 08:30 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
bumping a thread after 1 hour?? if you want to see the responses, just subscribe to it in future.

OK, from two machines that can not ping each other... "ifconfig", "route -n" and "arp -n" outputs from both. As I said earlier, there's no good reason for not being able to hit a local machine by IP just because it's on DHCP.
 
Old 05-18-2009, 03:31 PM   #7
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
I was looking at a day old post and then got distracted. coming back couple hours later I bumbed the post.
In retrospect it appears the OP bumped his own thread while I was doing other things. Should have refreshed the page before posting Sorry bout that.
The question still remains. can you ping from one private subnet to a different private subnet?
192.168.123.122/24 to 192.168.124.133/24?
 
Old 05-18-2009, 03:52 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Are you asking that as a question yourself, or asking the OP to test that? If you're just asking directly then yes that is totally possible IF your network is set up correctly.
 
Old 05-19-2009, 03:16 AM   #9
Wurzelseppi
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hey guys,

i have to appologize.
I had a problem in my router config and didnīt get it right.


The problem doesnīt exist anymore.


Thanks to all.

Greetings.
 
  


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
Cannot ping Fedora 7 from other machines pching Linux - Newbie 8 04-12-2009 10:54 AM
How come I can ping between machines, but not get internet? ozymandias Linux - Networking 5 09-11-2005 05:20 PM
machines with different submasks can ping each other, why? learnfast Linux - Newbie 1 03-11-2005 10:11 AM
Cannot ping between 2 machines on same router acampbell Linux - Wireless Networking 8 02-24-2004 04:27 AM
Ping between machines triplem Linux - Networking 1 04-14-2003 06:17 PM


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