Replies: 3 comments 2 replies
-
It's a bit unusual with a hostname and domainname. It's recommended to set the whole system correctly, e.g. on Linux:
|
Beta Was this translation helpful? Give feedback.
-
Hi, on the OS level (Linux), the hostname and domain name are correct. at a local internet exchange, I can see a few peers sending router hostname.domainname when using: 'show bgp ipv4 summary wide' I'd like to also send hostname and domain name |
Beta Was this translation helpful? Give feedback.
-
Hi Running Debian 12. It looks like the 'domainname' command is used for NIS / YP domain name - which probably nobody uses anymore. The 'dnsdomainname' command returns the correct value, and I think it comes from /etc/hosts Should FRR maybe use dnsdomainname to work out the domain? I found some docs saying the NIS domain can be set using /etc/defaultdomain - but that also did not work. ... root@deb12 ~ # domainname root@deb12 ~ # nisdomainname root@deb12 ~ # ypdomainname root@deb12 ~ # dnsdomainname root@deb12 ~ # cat /etc/defaultdomain root@deb12 ~ # cat /etc/debian_version |
Beta Was this translation helpful? Give feedback.
-
Hi
Running FRR 10.1.1
I'm trying to figure out how I get BGP to send a hostname and_domain name to the peers around it. Currently it seems only hostname is sent.
Looking at: https://docs.frrouting.org/en/latest/bgp.html it mentions:
hostname bgp-new.example.com
Here hostname is in FQDN format.
I tried adding 'hostname' and 'domainname' to vtysh.conf
I tried adding hostname to bgpd.conf
vtysh seems to strip the domain and only keep the hostname part when you enter FQDN
How do I configure a router to send router-name.domain-name to peers?
Beta Was this translation helpful? Give feedback.
All reactions