Posts Tagged by Networking

Solaris IP Multipathing – an example

An example of Solaris IP Multipathing, for future reference:

# cat /etc/hostname.bge2
10.888.999.133 netmask + broadcast + mtu 1380 deprecated -failover group inner-prod up 
 addif 10.888.999.132 netmask + broadcast + mtu 1380 group inner-prod up
# cat /etc/hostname.bge3
10.888.999.134 netmask + broadcast + mtu 1380 deprecated -failover standby group inner-prod up

giving:

# ifconfig bge2
bge2: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1380 index 4
 inet 10.888.999.133 netmask fffffff0 broadcast 10.225.228.143
 groupname inner-prod
 ether 0:xx:xx:xx:xx:xx
# ifconfig bge3
bge3: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1380 index 5
 inet 10.888.999.134 netmask fffffff0 broadcast 10.888.999.143
 groupname inner-prod
 ether 0:xx:xx:xx:xx:xx

Linux and Cisco VPN Client “Remote peer is no longer responding”

I’m using the Cisco VPN client, and it seems unreliable on Linux – it occasionally connects but often just gives up with “Remote peer is no longer responding”.

Apart from the obvious firewall/nat checks [1][2], a solution seems to be to edit the .pcf file, bump up the timeout and force keepalives:

PeerTimeout=180
ForceKeepAlive=1

 

 

ipcalc

ipcalc – a tool I used to use years ago but had forgotten about.

sudo aptitude install ipcalc
% ipcalc 192.168.1.0/26
Address:   192.168.1.0          11000000.10101000.00000001.00 000000
Netmask:   255.255.255.192 = 26 11111111.11111111.11111111.11 000000
Wildcard:  0.0.0.63             00000000.00000000.00000000.00 111111
=>
Network:   192.168.1.0/26       11000000.10101000.00000001.00 000000
HostMin:   192.168.1.1          11000000.10101000.00000001.00 000001
HostMax:   192.168.1.62         11000000.10101000.00000001.00 111110
Broadcast: 192.168.1.63         11000000.10101000.00000001.00 111111
Hosts/Net: 62                    Class C, Private Internet

Blueman – Bluetooth for Ubuntu

The Reverand Simon Rumble wrote a nice post on Mobile broadband over Bluetooth with Ubuntu 8.10 using Blueman. I’ve always wanted to get Bluetooth working on Ubuntu, but it was never at the top of my ‘todo’ list and I’ve always had other things to do (thank PHB). But Blueman makes it so easy – thanks Simon.

This article was also mentioned.

Speed up Firefox on Linux – Disable IPv6 Lookups

A post a stumbled upon – Speed up Firefox on Linux – Disable IPv6 Lookups. I don’t know if it works but I’m trying it now.

In a nutshell:

  • about:config
  • in the filter field, type “DNS” and hit enter
  • double-click on “network.dns.disableIPv6″, changing its value from False to True

See also my other post pdnsd on Ubuntu for faster dns

Next Page »