AI, ML, Development + Cisco Learning Blog Learning about Machine Learning, Artificial Intelligence, related devlopment topics and formerly Routing and Switching, Datacenter, Security and other topics, CCIE #23664, Frank Wagner

19. Mai 2006

logical interfaces

Filed under: interfaces — ocsic @ 16:07

logical interfaces are for example the loopback interface and the null interface.
The null interface is always there. if you want to drop a route you can send all packets the delta quadrant with.
ip route 192.168.1.0 255.255.255.0 null0

if you want to have an interface that is always up, maybe for your ospf routing process to stay alive you can use something like:
int loopback 0
ip add 192.168.1.1 255.255.255.0

You don’t have to use the „no shutdown“ command.

This interface will always stay tuned. 🙂

passive interface

Filed under: interfaces — ocsic @ 16:06

I you don’t want your neighbor to recive your routing updates from your ABR (Area Border Router) you can issue a passive mode on your router.

I will look like this for example RIP:

router rip
network 192.168.1.0
passive-interface e0

if Ethernet0 is the interface to your neighbor.

OSPF <-> RIP

Filed under: IGP Routing — ocsic @ 16:05

This is an simple example of redistributing ospf to rip and vica versa.

A Borderrouter having two interfaces. One Interface in the OSPF area 0 and one interface in the RIP area.

interface Ethernet0
ip address 192.168.3.2 255.255.255.0
!
interface Serial1
ip address 192.168.4.1 255.255.255.0
!

router ospf 1
log-adjacency-changes
redistribute rip
network 192.168.3.0 0.0.0.255 area 0
default-metric 64000
!
router rip
redistribute ospf 1
network 192.168.4.0
default-metric 4

Configuring Routing from ospf to rip is quite easy. Just use the „rediribute rip“ command. And maybe the „default-metric“ command.

With the redistribution from ospf to rip you have use also a default-metric. I took 4.

And then you will see, that like a magic update, the routes appear under both routing areas.

distribute-list

Filed under: IGP Routing — ocsic @ 16:04

With the distribute-list command you can control what kind of updates go into other routing tables. What is injected into the routing table and what does stay just there waiting.

Here is a short example. If you don’t want network 192.168.5.0/24 to be distributed into rip, then add the access-list and the distribute-list command. Here is the example:

router rip
redistribute ospf 1
network 192.168.4.0
default-metric 4
distribute-list 10 out Ethernet0
!
ip http server
ip classless
!
!
access-list 10 deny 192.168.5.0 0.0.0.255
access-list 10 permit any any

Hallo Welt!

Filed under: Allgemein — ocsic @ 11:45

Ok. Gerade installiert und läuft schon. Das ging wirklich schnell. Nicht in den versprochenen 5 Minuten, aber es waren vielleicht 10. Toll. Das macht Spaß. Dann werde ich jetzt mal anfangen hier verschiedene Sachen zu dokumentieren und festzuhalten. Vielleicht interessiert es den ein oder anderen.

Fu

« Newer Posts

Powered by WordPress