OFR hates me today. :-(
I have a new router with a DS3 in it running bgp over the ds3.
everything looks good except that all my bgp routes are being inserted
into the routing table with a next-hop of the default route, instead
of the received next-hop form bgp. Any idea what's going on? I've
rebooted a few times, removed and readded the peer, etc but I'm stumped.
Relevant info below:
## vyatta config ##
[EMAIL PROTECTED]> show configuration
protocols {
bgp {
bgp-id: 64.211.X.34
local-as: 65000
peer "64.211.X.33" {
local-ip: 64.211.X.34
as: 6745
next-hop: 64.211.X.34
}
}
static {
route 0.0.0.0/0 {
next-hop: 8.17.X.1
}
}
}
policy {
}
interfaces {
loopback lo {
}
ethernet eth0 {
}
ethernet eth1 {
}
ethernet eth2 {
}
ethernet eth3 {
}
ethernet eth4 {
}
ethernet eth5 {
address 8.17.X.2 {
prefix-length: 29
}
}
serial wan0 {
encapsulation: "ppp"
t3-options {
}
ppp {
vif 1 {
address {
local-address: 64.211.X.34
prefix-length: 30
remote-address: 64.211.X.33
}
}
}
}
}
service {
ssh {
}
}
firewall {
}
system {
name-server 8.17.X.41
name-server 8.17.X.42
ntp-server "69.59.150.135"
login {
user root {
authentication {
encrypted-password: <md5 pwd>
}
}
user vyatta {
authentication {
encrypted-password: <md5 pwd>
}
}
}
package {
repository community {
component: "main"
url: "http://archive.vyatta.com/vyatta"
}
}
}
--More-- (END)
## show bgp peers output ##
[EMAIL PROTECTED]> show bgp peers
Peer IP AS State Ver Msg Rx Msg Tx Update Rx
Update Tx
------- -- ----- --- ------ ------ ---------
---------
64.211.X.33 6745 ESTAB 4 15 13 2 0
## show bgp routes output ##
[EMAIL PROTECTED]> show bgp routes
Status Codes: * valid route, > best route
Origin Codes: i IGP, e EGP, ? incomplete
Prefix Nexthop BGP-ID MED LP AS-Path
------ ------- ------ --- --- -------
*> 64.211.X.32/30 64.211.X.33 64.211.X.196 100 6745 i
*> 64.211.X.196/32 64.211.X.33 64.211.X.196 100 6745 i
*> 206.132.X.32/28 64.211.X.33 64.211.X.196 100 6745 i
*> 206.132.X.48/32 64.211.X.33 64.211.X.196 100 6745 i
[EMAIL PROTECTED]>
## show bgp neighbor-routes ##
[EMAIL PROTECTED]> show bgp neighbor-routes
Status Codes: * valid route, > best route
Origin Codes: i IGP, e EGP, ? incomplete
Prefix Nexthop BGP-ID MED LP AS-Path
------ ------- ------ --- --- -------
*> 64.211.X.32/30 64.211.X.33 64.211.X.196 6745 i
*> 64.211.X.196/32 64.211.X.33 64.211.X.196 6745 i
*> 206.132.X.32/28 64.211.X.33 64.211.X.196 6745 i
*> 206.132.X.48/32 64.211.X.33 64.211.X.196 6745 i
[EMAIL PROTECTED]>
## show route ##
[EMAIL PROTECTED]> show route
Routes: 7/7, Paths: 7/7
0.0.0.0/0 [static(1)] > to 8.17.X.1 via eth5
8.17.X.0/29 [connected(0)] > to 8.17.X.2 via eth5
64.211.X.32/30 [ebgp(0)] > to 8.17.X.1 via eth5
64.211.X.196/32 [ebgp(0)] > to 8.17.X.1 via eth5
127.0.0.0/8 [connected(0)] > to 127.0.0.1 via lo
206.132.X.32/28 [ebgp(0)] > to 8.17.X.1 via eth5
206.132.X.48/32 [ebgp(0)] > to 8.17.X.1 via eth5
[EMAIL PROTECTED]>
## route -n from unix shell ##
vyatta:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
206.132.X.48 8.17.X.1 255.255.255.255 UGH 0 0 0
eth5
64.211.X.33 0.0.0.0 255.255.255.255 UH 0 0 0
wan0.1
64.211.X.196 8.17.X.1 255.255.255.255 UGH 0 0 0
eth5
64.211.X.32 8.17.X.1 255.255.255.252 UG 0 0 0
eth5
8.17.X.0 0.0.0.0 255.255.255.248 U 0 0 0
eth5
206.132.X.32 8.17.X.1 255.255.255.240 UG 0 0 0
eth5
0.0.0.0 8.17.X.1 0.0.0.0 UG 1 0 0
eth5
vyatta:~#
------------------
Aubrey Wells
Senior Engineer
Shelton | Johns Technology Group
A Vyatta Ready Partner
www.sheltonjohns.com
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users