Posts Tagged ‘Networking’

Useful commands for displaying Network Services/Connections

Friday, November 20th, 2009

#netstat -an|awk ‘/tcp/ {print $6}’|sort| uniq -c

#netstat -anp

#lsof|grep LISTEN

  • Share/Bookmark

Cisco NAT DHCP config

Wednesday, August 13th, 2008

Router#sh run
Building configuration…

Current configuration : 896 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
ip dhcp excluded-address 10.0.0.1 10.0.0.100
!
ip dhcp pool 10.0.0.0/24
network 10.0.0.0 255.255.255.0
dns-server 10.0.0.99
default-router 10.0.0.99
!
!
!
!
interface FastEthernet0/0
ip address 192.168.3.150 255.255.255.0
ip nat outside
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
no fair-queue
!
interface FastEthernet0/1
ip address 10.0.0.254 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface Serial0/1
no ip address
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
!
ip nat inside source list 1 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.3.1
ip http server
ip pim bidir-enable
!
access-list 1 permit 10.0.0.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end

  • Share/Bookmark

Network Failover

Wednesday, August 13th, 2008

http://www.ucarp.org/

  • Share/Bookmark