F5F Stay Refreshed Power Users Networks Configure DHCP on Ubuntu Server and link it to another machine.

Configure DHCP on Ubuntu Server and link it to another machine.

Configure DHCP on Ubuntu Server and link it to another machine.

Pages (2): 1 2 Next
E
Eppikx
Senior Member
447
11-06-2023, 04:52 AM
#1
I configured a static DHCP on the Ubuntu server. On regular Ubuntu, I entered the gateway address 10.10.10.1. The regular Ubuntu's IP is 10.10.10.2 and the server's IP is 10.10.10.1, so they share the same network. However, ping isn't working. People sometimes use enp0s3 or enp0s8 in the file, while others specify eth0i or eth1 instead. The same applies to IP addresses—some write [10.10.10.1/32] and others use 10.10.10./32. I remember this setup was done before, but I'm unsure which method is correct now.
E
Eppikx
11-06-2023, 04:52 AM #1

I configured a static DHCP on the Ubuntu server. On regular Ubuntu, I entered the gateway address 10.10.10.1. The regular Ubuntu's IP is 10.10.10.2 and the server's IP is 10.10.10.1, so they share the same network. However, ping isn't working. People sometimes use enp0s3 or enp0s8 in the file, while others specify eth0i or eth1 instead. The same applies to IP addresses—some write [10.10.10.1/32] and others use 10.10.10./32. I remember this setup was done before, but I'm unsure which method is correct now.

D
189
11-12-2023, 06:39 AM
#2
D
DoctorSergio15
11-12-2023, 06:39 AM #2

K
kungfutyla
Posting Freak
780
11-12-2023, 11:22 AM
#3
Ensure DHCP runs on the Ubuntu server. You’re familiar with the process?
K
kungfutyla
11-12-2023, 11:22 AM #3

Ensure DHCP runs on the Ubuntu server. You’re familiar with the process?

D
dansar
Junior Member
9
11-26-2023, 02:32 PM
#4
No, we are not assigning your homework.
D
dansar
11-26-2023, 02:32 PM #4

No, we are not assigning your homework.

X
xFinityGaming
Junior Member
15
11-26-2023, 10:11 PM
#5
I understood your question clearly. You're seeking guidance on configuring EIGRP between two routers without needing any additional homework.
X
xFinityGaming
11-26-2023, 10:11 PM #5

I understood your question clearly. You're seeking guidance on configuring EIGRP between two routers without needing any additional homework.

H
ha_paux_lete
Junior Member
1
12-04-2023, 09:27 PM
#6
Is your Ubuntu system running a DHCP server? A static IP won’t activate dhcpd. https://ubuntu.com/server/docs/network-dhcp DHCP isn’t a router—it’s a different setup you need to configure. It assigns IP addresses so devices don’t fall back to APIPA ranges. (The 169.254/16 block) https://help.ubuntu.com/community/Router You can reach the outside world, but you’ll still need to configure local DNS or an external DNS for hostnames to work.
H
ha_paux_lete
12-04-2023, 09:27 PM #6

Is your Ubuntu system running a DHCP server? A static IP won’t activate dhcpd. https://ubuntu.com/server/docs/network-dhcp DHCP isn’t a router—it’s a different setup you need to configure. It assigns IP addresses so devices don’t fall back to APIPA ranges. (The 169.254/16 block) https://help.ubuntu.com/community/Router You can reach the outside world, but you’ll still need to configure local DNS or an external DNS for hostnames to work.

N
59
12-04-2023, 11:07 PM
#7
The system wasn’t set up correctly. The installation failed, and now the issue persists. This behavior seems unusual and may require further troubleshooting.
N
Nickthegreat43
12-04-2023, 11:07 PM #7

The system wasn’t set up correctly. The installation failed, and now the issue persists. This behavior seems unusual and may require further troubleshooting.

M
Marcustheduke
Senior Member
679
12-11-2023, 02:18 AM
#8
Enp0s3, enp0s8, eth0 and eth1 denote various network adapters on a PC. Choose the one that matches the port you need. The number after the slash indicates subnet bits; "10.10.10.1/24" points to a specific host (255.255.255.0), while "10.10.10./24" covers the entire subnet (255.255.255.0). You should have reviewed this in class for your assignment. How are you configuring it? What’s in your configuration file? Is dhcpd directed to the right NIC? What does 'ifconfig' show on your server? How do you link these computers physically? If using static addresses, can they ping each other?
M
Marcustheduke
12-11-2023, 02:18 AM #8

Enp0s3, enp0s8, eth0 and eth1 denote various network adapters on a PC. Choose the one that matches the port you need. The number after the slash indicates subnet bits; "10.10.10.1/24" points to a specific host (255.255.255.0), while "10.10.10./24" covers the entire subnet (255.255.255.0). You should have reviewed this in class for your assignment. How are you configuring it? What’s in your configuration file? Is dhcpd directed to the right NIC? What does 'ifconfig' show on your server? How do you link these computers physically? If using static addresses, can they ping each other?

A
Astraioz
Junior Member
14
12-13-2023, 01:10 AM
#9
When addresses match, they won’t be pinged. This happens in VirtualBox. We did this at school. However, the instructor didn’t clarify why we format the address this way: [10.10.10.1/24]. On the internet, people usually see it written as - 10.10.10.1/24. It doesn’t clarify what the gateway address is—it just inserts it and we have to repeat it again. I understand what a gateway address is and its purpose. But when we enter it on networks, others know why we use such an address—it’s the router’s location. Still, I notice very little information about web topics online. A lot of old data exists; you can observe this by entering eigrp configuration in the Cisco Packet Tracer and checking the movie quality. Regarding programming, there are thousands of similar resources in high quality, and new ones are still being created. Do you agree with that?
A
Astraioz
12-13-2023, 01:10 AM #9

When addresses match, they won’t be pinged. This happens in VirtualBox. We did this at school. However, the instructor didn’t clarify why we format the address this way: [10.10.10.1/24]. On the internet, people usually see it written as - 10.10.10.1/24. It doesn’t clarify what the gateway address is—it just inserts it and we have to repeat it again. I understand what a gateway address is and its purpose. But when we enter it on networks, others know why we use such an address—it’s the router’s location. Still, I notice very little information about web topics online. A lot of old data exists; you can observe this by entering eigrp configuration in the Cisco Packet Tracer and checking the movie quality. Regarding programming, there are thousands of similar resources in high quality, and new ones are still being created. Do you agree with that?

V
ViiRaL_Hyper
Member
167
12-13-2023, 01:59 AM
#10
Yes, the addresses have to be different. That's why I said to make the server .1 and the client .2. The netmask and default gateway should be the same for every device on the subnet. How do you have the virtual networking configured in VirtualBox? NAT? Bridged? Your VMs might not be able to see each other, even if everything inside them is set up properly. https://www.virtualbox.org/manual/ch06.html Like I said, the /24 means that network or device has a 24 bit subnet mask. "10.10.10.1/24" means the IP address is 10.10.10.1 and the subnet mask is 255.255.255.0. There's mountains of information about it! TCP/IP is old . IPv4 has not substantially changed in over 20 years. Just about anything you can find about it will still be relevant. https://www.cisco.com/c/en/us/support/do...788-3.html I highly recommend looking for an IPv4 subnetting tutorial, it sounds like the teacher didn't show you how it works, only "do this and it will work", which isn't very helpful.
V
ViiRaL_Hyper
12-13-2023, 01:59 AM #10

Yes, the addresses have to be different. That's why I said to make the server .1 and the client .2. The netmask and default gateway should be the same for every device on the subnet. How do you have the virtual networking configured in VirtualBox? NAT? Bridged? Your VMs might not be able to see each other, even if everything inside them is set up properly. https://www.virtualbox.org/manual/ch06.html Like I said, the /24 means that network or device has a 24 bit subnet mask. "10.10.10.1/24" means the IP address is 10.10.10.1 and the subnet mask is 255.255.255.0. There's mountains of information about it! TCP/IP is old . IPv4 has not substantially changed in over 20 years. Just about anything you can find about it will still be relevant. https://www.cisco.com/c/en/us/support/do...788-3.html I highly recommend looking for an IPv4 subnetting tutorial, it sounds like the teacher didn't show you how it works, only "do this and it will work", which isn't very helpful.

Pages (2): 1 2 Next