Using static IP?

Help
denyo
2011-03-14
2013-05-09
  • denyo
    denyo
    2011-03-14

    Hi

    Thanks for CoLinux, awesome concept and application.

    I am having one problem with it. Basically I need to use Static Ip. I put all the right values in /etc/network/interfaces but I cannot get it to work. The same value range and similar ip adress works perfectly on my Debian Laptop.

    I m using the latest snapshot, Debian 5 image under Windows Xp

    thanks

     
  • denyo
    denyo
    2011-03-14

    auto eth0
    iface eth0 inet static
    address 192.168.2.110
    gateway 192.168.2.1
    netmask 255.255.255.0
    broadcast 192.168.2.255
    network 192.168.2.0
    nameserver 192.168.2.1

     
  • Henry N.
    Henry N.
    2011-03-14

    Can cou manualy set this IP address?

    ifconfig eth0 192.168.2.110
    route add default gw 192.168.2.1