dcj9 / N218_Pc_http_install

Setting Up an Installation Server
0 stars 0 forks source link

Configuring PXE server #3

Closed dcj9 closed 2 months ago

dcj9 commented 2 months ago

VirtualBox_Cluster HTTP OS Boot_14_06_2024_14_07_37

VirtualBox_Cluster HTTP OS Boot_14_06_2024_14_09_39

Should those match? I mean... I kinda feel they should. If im telling dhcp to look at a specific subnet that isnt being used... Nothing is going to happen. What exactly is dhcp

" What is DHCP (Dynamic Host Configuration Protocol)?

DHCP (Dynamic Host Configuration Protocol) is a network management protocol used to dynamically assign an IP address to any device, or node, on a network so it can communicate using IP. DHCP automates and centrally manages these configurations rather than requiring network administrators to manually assign IP addresses to all network devices. DHCP can be implemented on small local networks, as well as large enterprise networks. "

doesnt explain what im doing with the pxe server tho. Lemme look back. table this

dcj9 commented 2 months ago

Does the chile need to have the dnsmasq or does the server I am creating?

dcj9 commented 2 months ago

nmap -sL 132.177.5.* | grep (1

That is a sweet command.

dcj9 commented 2 months ago

VirtualBox_Cluster HTTP OS Boot_17_06_2024_15_58_03

dcj9 commented 2 months ago

VirtualBox_Cluster HTTP OS Boot_17_06_2024_16_32_45

dcj9 commented 2 months ago
root@chile:/export/home/csmone# dhclient -v -d -s 10.10.10.1 enp0s31f6
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
Listening on LPF/enp0s31f6/b0:4f:13:14:4d:dd
Sending on   LPF/enp0s31f6/b0:4f:13:14:4d:dd
Sending on   Socket/fallback
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 7 (xid=0x88b94013)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x88b94013)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x88b94013)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 6 (xid=0x24b65672)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x24b65672)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x24b65672)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 8 (xid=0x6fdd8633)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x6fdd8633)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x6fdd8633)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 5 (xid=0x33ab0a41)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x33ab0a41)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x33ab0a41)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x33ab0a41)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 5 (xid=0xa9f84d3b)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xa9f84d3b)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xa9f84d3b)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 3 (xid=0xc3338956)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xc3338956)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xc3338956)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 5 (xid=0x6320231b)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x6320231b)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0x6320231b)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 4 (xid=0xab9c120d)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xab9c120d)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xab9c120d)
DHCPDISCOVER on enp0s31f6 to 10.10.10.1 port 67 interval 8 (xid=0xd8c2662b)
DHCPOFFER of 132.177.5.206 from 132.177.4.189
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xd8c2662b)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xd8c2662b)
DHCPREQUEST for 132.177.5.206 on enp0s31f6 to 10.10.10.1 port 67 (xid=0xd8c2662b)
^C
root@chile:/export/home/csmone# 
csmone@chile:~$ nslookup 132.177.5.206
206.5.177.132.in-addr.arpa  name = cs5-s206.cs.unh.edu.

Authoritative answers can be found from:

csmone@chile:~$ nslookup 132.177.4.189
189.4.177.132.in-addr.arpa  name = cs0-189.cs.unh.edu.

Authoritative answers can be found from:

csmone@chile:~$ nslookup 132.177.5.206
206.5.177.132.in-addr.arpa  name = cs5-s206.cs.unh.edu.

Authoritative answers can be found from:

csmone@chile:~$ 

dcj9 commented 2 months ago

/etc/dnsmasq.conf

https://fedoramagazine.org/dnsmasq-provide-dns-dhcp-services/

dcj9 commented 2 months ago

dhclient -v -d -s 10.10.10.1 enp0s31f6

look into that command

dcj9 commented 2 months ago

Need to change the boot parameters to allow for different architectures, Though I still think I messed up the fstab on CL5

dcj9 commented 2 months ago

Original PXE server has been retired.

dcj9 commented 2 months ago

installed, had to install nfs server as well as fiddle with boot parameters via kickstart