[opensuse] dynamic ip address help wanted
Hello, Question: How can I allow 2 laptops to share information between each other. The laptops are running opensuse 12.3 64 bit. They are both connected ta a adsl router/modem and the DHCP Server Status settings are listed at [1] - How can I allow setup the 2 laptops to get a dynamic DHCP ip address from router/modem Is there any existing documentation on this subject ? Thanks Glenn [1] DHCP Server Status Allow Bootp true Allow Unknown Clients true Enable true Subnet Definitions Subnet Value 192.168.1.0 Subnet Mask 255.255.255.0 Maximum Lease Time 86400 seconds Default Lease Time 43200 seconds Use local host address as DNS server true Use local host address as default gateway true Get subnet from IP interface iplan IP Range 192.168.1.1- 192.168.1.20 Option domain-name-servers= 0.0.0.0 other settings # /sbin/dhcpcd -d eth0 info, eth0: dhcpcd 3.2.3 starting info, eth0: hardware address = 20:cf:30:28:fd:a2 info, eth0: broadcasting for a lease debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: waiting for 20 seconds debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: got a packet with xid 0x5e04523d info, eth0: offered 192.168.1.1 from 192.168.1.254 debug, eth0: sending DHCP_REQUEST with xid 0x5e04523d debug, eth0: waiting for 11 seconds debug, eth0: got a packet with xid 0x5e04523d info, eth0: checking 192.168.1.1 is available on attached networks debug, eth0: sending ARP probe #1 debug, eth0: sending ARP probe #2 debug, eth0: sending ARP probe #3 debug, eth0: sending ARP claim #1 debug, eth0: sending ARP claim #2 info, eth0: leased 192.168.1.1 for 43200 seconds debug, eth0: renew in 21600 seconds debug, eth0: rebind in 37800 seconds info, eth0: adding IP address 192.168.1.1/24 info, eth0: adding default route via 192.168.1.254 metric 0 info, eth0: adding route to 169.254.0.0/16 metric 0 debug, eth0: writing /etc/resolv.conf debug, eth0: writing /var/lib/dhcpcd/dhcpcd-eth0.info debug, eth0: forking to background info, eth0: exiting -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Friday 01 Nov 2013 04:26:04 doiggl@velocitynet.com.au wrote:
Hello, Question: How can I allow 2 laptops to share information between each other. The laptops are running opensuse 12.3 64 bit. They are both connected ta a adsl router/modem and the DHCP Server Status settings are listed at [1]
- How can I allow setup the 2 laptops to get a dynamic DHCP ip address from router/modem
Run Yast and go to Network settings, select the card and edit it and set it to use DHCP
Is there any existing documentation on this subject ? Thanks Glenn
[1] DHCP Server Status Allow Bootp true Allow Unknown Clients true Enable true Subnet Definitions Subnet Value 192.168.1.0 Subnet Mask 255.255.255.0 Maximum Lease Time 86400 seconds Default Lease Time 43200 seconds Use local host address as DNS server true Use local host address as default gateway true Get subnet from IP interface iplan IP Range 192.168.1.1- 192.168.1.20 Option domain-name-servers= 0.0.0.0
other settings # /sbin/dhcpcd -d eth0 info, eth0: dhcpcd 3.2.3 starting info, eth0: hardware address = 20:cf:30:28:fd:a2 info, eth0: broadcasting for a lease debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: waiting for 20 seconds debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: got a packet with xid 0x5e04523d info, eth0: offered 192.168.1.1 from 192.168.1.254 debug, eth0: sending DHCP_REQUEST with xid 0x5e04523d debug, eth0: waiting for 11 seconds debug, eth0: got a packet with xid 0x5e04523d info, eth0: checking 192.168.1.1 is available on attached networks debug, eth0: sending ARP probe #1 debug, eth0: sending ARP probe #2 debug, eth0: sending ARP probe #3 debug, eth0: sending ARP claim #1 debug, eth0: sending ARP claim #2 info, eth0: leased 192.168.1.1 for 43200 seconds debug, eth0: renew in 21600 seconds debug, eth0: rebind in 37800 seconds info, eth0: adding IP address 192.168.1.1/24 info, eth0: adding default route via 192.168.1.254 metric 0 info, eth0: adding route to 169.254.0.0/16 metric 0 debug, eth0: writing /etc/resolv.conf debug, eth0: writing /var/lib/dhcpcd/dhcpcd-eth0.info debug, eth0: forking to background info, eth0: exiting -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
doiggl@velocitynet.com.au wrote:
Hello, Question: How can I allow 2 laptops to share information between each other. The laptops are running opensuse 12.3 64 bit. They are both connected ta a adsl router/modem and the DHCP Server Status settings are listed at [1]
- How can I allow setup the 2 laptops to get a dynamic DHCP ip address from router/modem
You configure their network interfaces as DHCP.
other settings # /sbin/dhcpcd -d eth0 info, eth0: dhcpcd 3.2.3 starting info, eth0: hardware address = 20:cf:30:28:fd:a2 info, eth0: broadcasting for a lease debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: waiting for 20 seconds debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: sending DHCP_DISCOVER with xid 0x5e04523d debug, eth0: got a packet with xid 0x5e04523d info, eth0: offered 192.168.1.1 from 192.168.1.254 debug, eth0: sending DHCP_REQUEST with xid 0x5e04523d debug, eth0: waiting for 11 seconds debug, eth0: got a packet with xid 0x5e04523d info, eth0: checking 192.168.1.1 is available on attached networks debug, eth0: sending ARP probe #1 debug, eth0: sending ARP probe #2 debug, eth0: sending ARP probe #3 debug, eth0: sending ARP claim #1 debug, eth0: sending ARP claim #2 info, eth0: leased 192.168.1.1 for 43200 seconds debug, eth0: renew in 21600 seconds debug, eth0: rebind in 37800 seconds info, eth0: adding IP address 192.168.1.1/24 info, eth0: adding default route via 192.168.1.254 metric 0 info, eth0: adding route to 169.254.0.0/16 metric 0 debug, eth0: writing /etc/resolv.conf debug, eth0: writing /var/lib/dhcpcd/dhcpcd-eth0.info debug, eth0: forking to background info, eth0: exiting
Seems to be working just fine. -- Per Jessen, Zürich (16.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
ianseeks
-
Per Jessen