Assalammualaikum Mr.Yassin,
1) Backup first the file and Open interface file via vi editor
Sudo vi /etc/network/interfaces
2) Find and remove any dhcp entries
iface eth0 inet dhcp
3) Add following info (assuming the static ip is .22 and gw is .1)
iface eth0 inet static
address 192.168.1.22
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
4) Save and exit vi
5) Restart network service
Sudo /etc/init.d/networking restart
6) Try ping own ip. If reply then ok la. Or..
7) To verify adapter eth1 ip config
Ifconfig eth1
Or ip config for all adapter
Ifconfig
Thanks
Sent from my BlackBerry® wireless device via Vodafone-Celcom Mobile.
0 comments:
Post a Comment