Cannot delete ip route

Hello,

could you help to delete this route ? It came from mpd5 (pppoe server)
Code:
root@bng1:/var/log # route -n get 10.128.32.4
   route to: 10.128.32.4
destination: 10.128.32.4
        fib: 0
  interface: if#130
      flags: <UP,HOST,DONE,PINNED>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0         0         1         0


root@bng1:/var/log # route delete -host 10.128.32.4
delete host 10.128.32.4 fib 0: gateway uses the same route
 
Last edited by a moderator:
Let me give you the issue context,
normaly mpd should delete the connected route when the pppoe session is terminated, but in my case we have a "ghost" route still present and when a new pppoe connection is requesting 10.128.32.4 which is supposed to be available, we have an error from mpd :
Code:
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IPCP: state change Ack-Rcvd --> Opened
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IPCP: LayerUp
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167]   10.128.35.254 -> 10.128.32.4
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IFACE: Adding IPv4 address to ng142 failed: File exists
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IFACE: IfaceChangeAddr() error, closing IPCP
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IPCP: parameter negotiation failed
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IPCP: state change Opened --> Stopping
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IPCP: SendTerminateReq #2
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IPCP: LayerDown
Mar 20 09:00:02 bng1 mpd[77832]: [BT1517-167] IFACE: Removing IPv4 address from ng142 failed: Can't assign requested address
 
Last edited by a moderator:
Hello, try to increase this option

set link redial-delay seconds
This command defines time between connection retries.
The default value is 1.
 
Delete the route that used that address as a gateway first. Then you can delete this specific host route.
 
Back
Top