Mezgani blog

June 25, 2012

HSRP simple example

Filed under: routing — Tags: , , — Ali MEZGANI @ 12:48 am

Let’s talk about too routers A and B that use the HSRP protocole against tolerance fault and attack.

The router A use the IP address 192.168.0.2 with a mask 255.255.255.0
The router B use the IP address 192.168.0.3 with a mask 255.255.255.0

So, the virtual IP address is 192.168.0.1 and is set as default gateway as:

Router A
interface Ethernet 0/0
ip address 192.168.0.2 255.255.255.0
standby 10 priority 100 preempt
standby 10 ip 192.168.0.1

Router B
interface Ethernet 0/0
ip address 192.168.0.3 255.255.255.0
standby 10 priority 80
standby 10 ip 192.168.0.1

June 20, 2012

Upgrade FreeBSD 8.1 to 9.0 stable release

Filed under: system — Tags: — Ali MEZGANI @ 12:54 am

For upgrading my FreeBSD box i use the binary freebsd-update. Well, i logged as root and i type:

# freebsd-update upgrade -r 9.0-RELEASE
# freebsd-update fetch
# freebsd-update install
# reboot

The system will reboot with the new kernel after the reboot, run freebsd-update install again
to install userland components and rebbot

# freebsd-update install
# reboot

You also need to update all packages, type:
# portsnap fetch update
# pkg_version -vIL=
# portupgrade -a

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.