On Mon, 2004-06-07 at 11:57, poeml@cmdline.net wrote:
On Sun, Jun 06, 2004 at 03:37:57PM +0200, Ulrich Leopold wrote:
On Fri, 2004-06-04 at 01:11, Leendert Meyer wrote:
On Thursday 03 June 2004 22:54, Ulrich Leopold wrote:
Hi,
I got the dhcpd server (SuSE 9.1) running with the configuration below. But I cannot assign an dynamic IP address to my laptop (SuSE 9.0) in the local network now. The laptop is configured as a dhcp client and usually to works fine with this configuration. So I guess there are still some things missing in the dhcpd configuration?
Can it be due to my firewall settings of the dhcpd server? I turned on ssh and rsync ports as well as forwarding and masquerading, protect all running services and trace route. Protect from internal network is disabled.
How do you connect your laptop to the server? via 1 cable or via a hub/switch? Mind the crosslink cable...
If you want to post the dhcp-dump output, try to cut it down by showing only the 1st of repeating packets.
I managed to get a connection between dhcp-server and dhcp-client. But I do not manage to get an internet connection for the client. eth1 is the dhcp-server where as eth0 gets the internet connection from the ISP as dhcp-client.
Here is my dchp-dump output from the server for eth1. The client gets ip# 192.168.0.20 and netmask 255.255.255.0.
The server shows the following for eth1: ----------------------------------------------------------- uleopold@iceland:~> head -n52 dhcp-dump.output TIME: 13:02:10.654738 IP: IPv4, (00:0b:db:14:dd:0c) > 590 (>) OP: 0 (wrong specified) HTYPE: 0 (wrong specified)
Please note that dhcpdump does not work with the tcpdump version that shipped with 9.1. You can find a fixed version here: ftp://ftp.suse.com/pub/people/poeml/dhcp-tools/
Peter
OK. Thanks. This is my new dhcp-dump output. Maybe it reveals some misconfiguration? Am not quite sure. ------------------------------------------------------------------------------- TIME: 12:09:42.289915 IP: 0.0.0.0.68 (00:0b:db:14:dd:0c) > 255.255.255.255.67 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: c89cc37c SECS: 10 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 0.0.0.0 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: 00:0b:db:14:dd:0c:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 3 (DHCPREQUEST) OPTION: 57 ( 2) Maximum DHCP message size 548 OPTION: 50 ( 4) Request IP address 192.168.0.20 OPTION: 51 ( 4) IP address leasetime -1 () OPTION: 55 ( 18) Parameter Request List 1 (Subnet mask) 3 (Routers) 6 (DNS server) 12 (Host name) 15 (Domainname) 17 (Root path) 23 (Default IP TTL) 28 (Broadcast address) 29 (Perform mask discovery) 31 (Perform router discovery) 33 (Static route) 40 (NIS domain) 41 (NIS servers) 42 (NTP servers) 9 (LPR server) 7 (Log server) 200 (???) 44 (NetBIOS name server) OPTION: 12 ( 10) Host name snowdonia OPTION: 60 ( 29) Vendor class identifier Linux 2.4.21-202-default i686 OPTION: 61 ( 7) Client-identifier 01:00:0b:db:14:dd:0c --------------------------------------------------------------------------- TIME: 12:09:42.955750 IP: 192.168.0.1.67 (52:54:05:fe:c2:d7) > 255.255.255.255.68 (ff:ff:ff:ff:ff:ff) OP: 2 (BOOTPREPLY) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: c89cc37c SECS: 10 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 192.168.0.20 SIADDR: 192.168.0.1 GIADDR: 0.0.0.0 CHADDR: 00:0b:db:14:dd:0c:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 5 (DHCPACK) OPTION: 54 ( 4) Server identifier 192.168.0.1 OPTION: 51 ( 4) IP address leasetime 604800 (7d) OPTION: 1 ( 4) Subnet mask 255.255.255.0 OPTION: 3 ( 4) Routers 192.168.0.1 OPTION: 6 ( 4) DNS server 192.168.0.1 OPTION: 15 ( 5) Domainname beer OPTION: 28 ( 4) Broadcast address 192.168.0.255 --------------------------------------------------------------------------- Cheers, Ulrich