1. Configure static ip
Edit file /etc/network/interfaces, configure interface eth0 like this:
iface eth0 inet static
address 172.24.236.151
netmask 255.255.0.0
broadcast 172.24.255.255
gateway 172.24.231.1
After configure your interface, you’ve to restart your network service: /etc/init.d/networking restart
2. Export proxy for internet connection
Edit file ~/.bashrc, append these line:
http_proxy=http://172.24.231.1:8000
ftp_proyx=ftp://172.24.231.1:8000
export http_proxy ftp_proxy
3. DNS
Edit file /etc/resolve.conf
search nhson-lap.ntis.vn
nameserver 172.24.236.150
4. Edit host name in file /etc/hostname
0 Responses to “Ubutu Networking”