LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Canīt ping machines with dynamic IPīs (https://www.linuxquestions.org/questions/linux-networking-3/can%B4t-ping-machines-with-dynamic-ip%B4s-724618/)

Wurzelseppi 05-08-2009 03:59 AM

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)


acid_kewpie 05-08-2009 04:13 AM

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.

Wurzelseppi 05-11-2009 02:33 AM

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

Wurzelseppi 05-13-2009 06:11 AM

nobody anymore ?


Many thanks in advance for every reply!

john test 05-13-2009 07:26 AM

I am interested in the anser to this question. "Bump"

acid_kewpie 05-13-2009 07:30 AM

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.

john test 05-18-2009 02:31 PM

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?

acid_kewpie 05-18-2009 02:52 PM

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.

Wurzelseppi 05-19-2009 02:16 AM

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.


All times are GMT -5. The time now is 12:54 AM.