nwm, ako je to v ubuntu no ale ak to spravis takto po restarte pc, sa ti to neulozi , takze skus toto : cd /etc/sysconfig/network-scripts a v subore ifcfg-eth0 to zapis takymto sposobom :
# Networking Interface
DEVICE=eth0
BOOTPROTO=none
HWADDR=xx:xx:xx.xx:xx:xx
ONBOOT=yes
TYPE=Ethernet
NM_CONTROLLED=yes
USERCTL=no
IPV6INIT=no
NAME="System eth0"
UUID=**
IPADDR=(sem si hod svoji IP)
PREFIX=28
GATEWAY=(gateway)
DNS1=(dns primarny server)
DOMAIN=(dns secundarny )
a potom v route-eth0 :
GATEWAY0=(gateway)
NETMASK0=(netmask)
ADDRESS0=(zas tvoja IP)
a nakoniec :
sudo /etc/init.d/NetworkManager restart
no ja mam fedoru a obcas je tam nieco ine, takze mozno bude ta cesta ina (cd /etc/sysconfig/network-scripts) kazdopadne hladaj to v /etc/sysconfig (a neco s network najdes a hladaj taketo subori ifcfg-eth0)
a malo by to fungovat

ak nie kludne napis este to poriesime