Octavian wrote:
> Pe data de Joi 12 Apr 2007 16:45, Radu Naidinescu a scris:
>> !
>> router bgp 12345
>> bgp router-id 123.123.123.123
>> bgp scan-time 5
>> network 1.2.3.4/24
>> timers bgp 10 30
>> neighbor s.t.u.v remote-as 12310
>> neighbor s.t.u.v ebgp-multihop 255
>> neighbor s.t.u.v update-source eth1
>> neighbor s.t.u.v weight 100
>> neighbor s.t.u.v soft-reconfiguration inbound
>> neighbor s.t.u.v distribute-list tts out
>> neighbor 83.166.206.1 route-map ines-in in
>> !
> Pana la urma s.t.u.v este direct conectat?
> Cu alte cuvinte #ip route get s.t.u.v arata de genul:
> s.t.u.v dev ethX src m.n.o.p ?
> Daca nu este direct conectat ar trebui sa ai o ruta statica catre el.
> Deci in zebra bagi "ip route s.t.u.v/32 a.b.c.d" unde a.b.c.d este ipul direct
> conectat de la provider.
# ip route get 83.166.206.1
83.166.206.1 dev eth1 src 83.166.206.X
cache mtu 1500 advmss 1460 metric 10 64
unde 83.166.206.X e ip-ul de pe pc-ul meu.
daca dau `show ip route` pe zebra imi zice:
C>* 83.166.206.0/24 is directly connected, eth1
--
Radu Naidinescu
http://www.thebadboys.ro/
_______________________________________________
RLUG mailing list
[EMAIL PROTECTED]
http://lists.lug.ro/mailman/listinfo/rlug