Articles for April 2013

Change or setup default gateway with route command in linux

$ /sbin/route -n

Output:

Kernel IP routing table
Destination           Gateway              Genmask                 Flags       Metric        Ref       Use         Iface
191.255.255.0     0.0.0.0                  255.255.255.0       U             0                0           0            eth0
169.254.0.0         0.0.0.0                  255.255.0.0           U             0                0           0            eth0
0.0.0.0                 191.255.255.1     0.0.0.0                    UG           0                0           0            eth0

Please note that a destination entry 0.0.0.0 (or default) is the default gateway.
In above example 191.255.255.1 is a default gateway.

Loading

How to install .NET Framework 3.5 on Windows Server 2012

Apparently, there’s a bug in Windows Server 2012 when trying to add the .NET Framework 3.5 from Server Manager. In order to get it to work, I had to enable the feature via the Command Prompt.

This is the command that I had to type:

dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess

Note-1: Source should be the Windows installation disc. In my case, this was located on D:
Note-2: CMD or powershell must be administrator rights.

Loading