Got it

IP-POOL UNR BGP IMPORT

Created: Dec 15, 2021 12:56:29Latest reply: Dec 18, 2021 13:31:30 300 8 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,


I'm doing some tests, and I've noticed something I can't understand, let me explain.


I've created a ip-pool for bng service, /24 its size.

Huawei automatically create a black hole route type:


Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route

------------------------------------------------------------------------------

Routing Table : _public_

         Destinations : 71       Routes : 71


Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface


100.65.0.0/24  Unr     61   0             DB  127.0.0.1       NULL0


When clients connect to the pppoe server, one /32 route is created. The routing table is showing this way:


100.65.0.0/24  Unr     61   0             DB  127.0.0.1       NULL0

100.65.0.6/32  Unr     63   0             D   170.233.253.35  Eth-Trunk1.30


I've imported unr routes to BGP and applied the route-policy, but the BGP just announces /24 route and not the /32.


What must I do to announce /32 instead /24 in this case.


The route-policy and ip prefix list is not the problem, because when other clients connect to the pppoe server and get ip address from radius that /32 is announced correctly.


Thanks in advance

Featured Answers

Recommended answer

chenhui
Admin Created Dec 15, 2021 14:25:43

Hi,
If you are using the command import-route unr to import the UNR route into the BGP protocol, well, that is normal, cause this command imports only subnet routes, instead of specific host routes.

You can refer to How Are UNRs Advertised.

View more
  • x
  • convention:

wegnix
wegnix Created Dec 15, 2021 14:42:30 (0) (0)
Yes, I'm using this command, but the questions is, why it is imports just the /24 route instead /32? When some client connect in a pool from radius /32 is exported as expected. But when one client connect using this pool its /32 is not exported  
chenhui
chenhui Reply wegnix  Created Dec 24, 2021 06:16:03 (0) (0)
If an address outside the address pool on the BRAS is delivered or the BRAS is enabled to advertise host routes in the address pool, RADIUS-delivered UNRs must be advertised.  
All Answers
Hello,
Kindly wait for a second.
View more
  • x
  • convention:

Hi,
If you are using the command import-route unr to import the UNR route into the BGP protocol, well, that is normal, cause this command imports only subnet routes, instead of specific host routes.

You can refer to How Are UNRs Advertised.

View more
  • x
  • convention:

wegnix
wegnix Created Dec 15, 2021 14:42:30 (0) (0)
Yes, I'm using this command, but the questions is, why it is imports just the /24 route instead /32? When some client connect in a pool from radius /32 is exported as expected. But when one client connect using this pool its /32 is not exported  
chenhui
chenhui Reply wegnix  Created Dec 24, 2021 06:16:03 (0) (0)
If an address outside the address pool on the BRAS is delivered or the BRAS is enabled to advertise host routes in the address pool, RADIUS-delivered UNRs must be advertised.  
I wanted to know if it is possible to change this default behavior?Tthe network segment route rather than specific host routes is advertised.
View more
  • x
  • convention:

In other words, I just wanted, when I create a pool, the router does not create a route automatically
View more
  • x
  • convention:

chenhui
chenhui Created Dec 24, 2021 06:19:32 (0) (0)
No, the UNR route is generated by default.  
GOOD ANSWER
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.