HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Gettting Syntax Error for an entry setuped in ...
Operating System - HP-UX
1833588
Members
4209
Online
110061
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 08:28 PM
05-23-2007 08:28 PM
Gettting Syntax Error for an entry setuped in file /etc/bootptab for relaying bootp requests.
Hi All,
We are having a ignite server as well as pxe server for OS installation on HP-UX and Linux servers respectively. Having these to servers in the same subnet is creating a problem. So,
what we are trying to do is, shutdown the DHCP on the PXE server and relay the bootp requests from linux client to Linux PXE server. I think this should work.
Now, to relay the bootp requests I have added these lines in the /etc/bootptab
<<<<<<< a part of /etc/bootptab >>>>>>>>>>>
galapagos:\
ht=ethernet:\
bp=10.216.152.40:\
th=2:\
hp=8
swlx42:\
tc=galapagos:\
ha=00093D111D03:\
ip=10.216.154.42:\
hn:\
sm=255.255.248.0
<<<<<<< a part of /etc/bootptab >>>>>>>>>>>
galapagos ==> is the PXE servers hostname and its IP is 10.216.152.40
swlx42 ==> machiine on which I want to install LINUX. IP->10.216.154.42 and MAC 00:09:3D:11:1D:03
Now, when I try installing OS on Linux machine through PXE. I am getting these error msgs in the file /var/adm/syslog/syslog.log
May 24 12:50:43 swia08 inetd[7719]: telnet/tcp: Connection from unknown (172.31.46.75) at Thu May 24 12:50:43 2007
May 24 12:51:43 swia08 bootpd[7047]: reading new "/etc/dhcptab"
May 24 12:51:43 swia08 bootpd[7047]: group count: 1
May 24 12:51:43 swia08 bootpd[7047]: reading new "/etc/bootptab"
May 24 12:51:43 swia08 bootpd[7047]: duplicate hardware address: 0016353E6C82
May 24 12:51:43 swia08 bootpd[7047]: bad hostname: "tc=ignite-gateway"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "tc=ignite-gateway" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: syntax error in entry for host "relay-default"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "relay-default" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: bad hostname: "th=2"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "th=2" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: can't find tc="relay-default"
May 24 12:51:43 swia08 bootpd[7047]: bad hardware address for host "swlx42"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "swlx42" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: read 15 entries from "/etc/bootptab"
So, there is some problem with the entries that I have made in the file /etc/bootptab.
Can anyone please tell me the correct syntax for writing these entries?
Thanks and Regards,
Prasad.
We are having a ignite server as well as pxe server for OS installation on HP-UX and Linux servers respectively. Having these to servers in the same subnet is creating a problem. So,
what we are trying to do is, shutdown the DHCP on the PXE server and relay the bootp requests from linux client to Linux PXE server. I think this should work.
Now, to relay the bootp requests I have added these lines in the /etc/bootptab
<<<<<<< a part of /etc/bootptab >>>>>>>>>>>
galapagos:\
ht=ethernet:\
bp=10.216.152.40:\
th=2:\
hp=8
swlx42:\
tc=galapagos:\
ha=00093D111D03:\
ip=10.216.154.42:\
hn:\
sm=255.255.248.0
<<<<<<< a part of /etc/bootptab >>>>>>>>>>>
galapagos ==> is the PXE servers hostname and its IP is 10.216.152.40
swlx42 ==> machiine on which I want to install LINUX. IP->10.216.154.42 and MAC 00:09:3D:11:1D:03
Now, when I try installing OS on Linux machine through PXE. I am getting these error msgs in the file /var/adm/syslog/syslog.log
May 24 12:50:43 swia08 inetd[7719]: telnet/tcp: Connection from unknown (172.31.46.75) at Thu May 24 12:50:43 2007
May 24 12:51:43 swia08 bootpd[7047]: reading new "/etc/dhcptab"
May 24 12:51:43 swia08 bootpd[7047]: group count: 1
May 24 12:51:43 swia08 bootpd[7047]: reading new "/etc/bootptab"
May 24 12:51:43 swia08 bootpd[7047]: duplicate hardware address: 0016353E6C82
May 24 12:51:43 swia08 bootpd[7047]: bad hostname: "tc=ignite-gateway"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "tc=ignite-gateway" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: syntax error in entry for host "relay-default"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "relay-default" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: bad hostname: "th=2"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "th=2" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: can't find tc="relay-default"
May 24 12:51:43 swia08 bootpd[7047]: bad hardware address for host "swlx42"
May 24 12:51:43 swia08 bootpd[7047]: entry with hostname "swlx42" will be ignored.
May 24 12:51:43 swia08 bootpd[7047]: read 15 entries from "/etc/bootptab"
So, there is some problem with the entries that I have made in the file /etc/bootptab.
Can anyone please tell me the correct syntax for writing these entries?
Thanks and Regards,
Prasad.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 08:33 PM
05-23-2007 08:33 PM
Re: Gettting Syntax Error for an entry setuped in file /etc/bootptab for relaying bootp requests.
These are the correct logs from syslog.log file.
May 24 13:00:35 swia08 bootpd[7047]: reading new "/etc/dhcptab"
May 24 13:00:35 swia08 bootpd[7047]: group count: 1
May 24 13:00:35 swia08 bootpd[7047]: reading new "/etc/bootptab"
May 24 13:00:35 swia08 bootpd[7047]: duplicate hardware address: 0016353E6C82
May 24 13:00:35 swia08 bootpd[7047]: syntax error in entry for host "galapagos"
May 24 13:00:35 swia08 bootpd[7047]: entry with hostname "galapagos" will be ignored.
May 24 13:00:35 swia08 bootpd[7047]: bad hostname: "th=2"
May 24 13:00:35 swia08 bootpd[7047]: entry with hostname "th=2" will be ignored.
May 24 13:00:35 swia08 bootpd[7047]: can't find tc="galapagos"
May 24 13:00:35 swia08 bootpd[7047]: bad hardware address for host "swlx42"
May 24 13:00:35 swia08 bootpd[7047]: entry with hostname "swlx42" will be ignored.
May 24 13:00:35 swia08 bootpd[7047]: read 14 entries from "/etc/bootptab"
May 24 13:00:35 swia08 bootpd[7047]: reading new "/etc/dhcpdeny"
May 24 13:00:35 swia08 bootpd[7047]: read 142 entries from "/etc/dhcpdeny"
May 24 13:00:35 swia08 bootpd[7047]: reading new "/etc/dhcptab"
May 24 13:00:35 swia08 bootpd[7047]: group count: 1
May 24 13:00:35 swia08 bootpd[7047]: reading new "/etc/bootptab"
May 24 13:00:35 swia08 bootpd[7047]: duplicate hardware address: 0016353E6C82
May 24 13:00:35 swia08 bootpd[7047]: syntax error in entry for host "galapagos"
May 24 13:00:35 swia08 bootpd[7047]: entry with hostname "galapagos" will be ignored.
May 24 13:00:35 swia08 bootpd[7047]: bad hostname: "th=2"
May 24 13:00:35 swia08 bootpd[7047]: entry with hostname "th=2" will be ignored.
May 24 13:00:35 swia08 bootpd[7047]: can't find tc="galapagos"
May 24 13:00:35 swia08 bootpd[7047]: bad hardware address for host "swlx42"
May 24 13:00:35 swia08 bootpd[7047]: entry with hostname "swlx42" will be ignored.
May 24 13:00:35 swia08 bootpd[7047]: read 14 entries from "/etc/bootptab"
May 24 13:00:35 swia08 bootpd[7047]: reading new "/etc/dhcpdeny"
May 24 13:00:35 swia08 bootpd[7047]: read 142 entries from "/etc/dhcpdeny"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP