Jason Gerfen
2006-Jun-27 17:12 UTC
[syslinux] PXE multihomed Interface for multiple subnets
I am attempting to setup a PXE boot server listening on different subnets and have spent a couple of days scouring forums trying to find an anser. Below is a brief synopsis of the topology. I could really use some help with this if at all possible. Client -> Subnet-29 -> Server-1 Client -> Subnet-151 -> Server-1 Here is the current DHCPD.CONF ### GLOBAL DHCP CONFIGURATION ### option domain-name="tyr"; default-lease-time 900; max-lease-time 1800; ddns-update-style none; authoritative; allow bootp; allow booting; option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-tmout code 4 = unsigned integer 8; ### SUBNETS CONFIGURATION ### # Vlan-029 subnet 192.168.1.0 netmask 255.255.255.0 { option domain-name-servers 192.168.1.10, 192.168.1.11; option routers 192.168.1.1; } # Vlan-151 subnet 192.168.0.0 netmask 255.255.255.0 { option domain-name-servers 192.168.0.10, 192.168.0.11; option routers 192.168.0.1; } ### PXE GROUPS CONFIGURATION ### # MMC-PXE group group { next-server 192.168.1.254; filename "/tftproot/pxelinux.0"; host MMPC-57 { hardware ethernet 00:02:B3:A3:06:7c; fixed-address 192.168.1.101; } host MMPC-110 { hardware ethernet 00:02:B3:EB:08:43; fixed-address 192.168.1.102; } } # UN-PXE group group { next-server 192.168.0.254; filename "/tftproot/pxelinux.0"; host unsc-01 { hardware ethernet 00:02:B3:63:c6:b5; fixed-address 192.168.0.101; } host unpc-92 { hardware ethernet 00:02:B3:D2:06:1B; fixed-address 192.168.0.102; } } When I sniff the packets on the client and server this is the output I am recieving: 13:26:05.381080 mmpc-98.32823 > tyr.tftp: 22 RRQ "pxelinux.0" (DF) 13:26:05.381105 tyr > mmpc-98: icmp: tyr udp port tftp unreachable [tos 0xc0] And the output of the current listening services on the server: jason at tyr:~$ netstat -an | grep udp udp 0 0 0.0.0.0:67 0.0.0.0:* udp 0 0 0.0.0.0:67 0.0.0.0:* udp 0 0 0.0.0.0:69 0.0.0.0:* And the current ifconfig output: eth2.29 Link encap:Ethernet HWaddr 00:02:B3:BC:46:88 inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:65644 errors:0 dropped:0 overruns:0 frame:0 TX packets:167395 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7195714 (6.8 Mb) TX bytes:17110387 (16.3 Mb) eth2.151 Link encap:Ethernet HWaddr 00:02:B3:BC:46:88 inet addr:192.168.1.254 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:72591 errors:0 dropped:0 overruns:0 frame:0 TX packets:138170 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6934628 (6.6 Mb) TX bytes:14440655 (13.7 Mb) Am I missing something? Any help, pointers, tips, tutorials etc. are appreciated. -- Jas