netadmin issue
- Konstantinos.E
- Alcatel Unleashed Certified Guru

- Posts: 616
- Joined: 12 Jan 2010 04:15
- Location: Honolulu
-
johank
- tot3nkopf
- Alcatel Unleashed Certified Guru

- Posts: 4058
- Joined: 02 Feb 2006 10:41
- Location: Germany & Romania
- Contact:
1.su
2. cd /etc/sysconfig/network-scripts
3. cp ifcfg-etho ifcfg-eth0:0
4. vi ifcfg-eth0:0
modify as needed :
DEVICE="eth0:0"
ex:
DEVICE="eth0:0"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="223.168.90.100"
NETMASK="255.255.0.0"
NETWORK="223.168.0.0"
BRODCAST="223.168.255.255"
Adding gateway
5. Using netadmin -m you add "default router" let's say 192.168.1.1 (we just need this in order to modify it)
6. su
7. vi /etc/sysconfig/network
modify gateway:
ex:GATEWAY="223.168.0.1"
8.lanpbxbuild -auto
9.Using su
crontab -e 5 * * * * service network restart
10. service network restart
Read me:
-using route we can see the declared routes
- using ifconfig we can see the ip configured
- after each Call server restart we must issue a service network restart command
2. cd /etc/sysconfig/network-scripts
3. cp ifcfg-etho ifcfg-eth0:0
4. vi ifcfg-eth0:0
modify as needed :
DEVICE="eth0:0"
ex:
DEVICE="eth0:0"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="223.168.90.100"
NETMASK="255.255.0.0"
NETWORK="223.168.0.0"
BRODCAST="223.168.255.255"
Adding gateway
5. Using netadmin -m you add "default router" let's say 192.168.1.1 (we just need this in order to modify it)
6. su
7. vi /etc/sysconfig/network
modify gateway:
ex:GATEWAY="223.168.0.1"
8.lanpbxbuild -auto
9.Using su
crontab -e 5 * * * * service network restart
10. service network restart
Read me:
-using route we can see the declared routes
- using ifconfig we can see the ip configured
- after each Call server restart we must issue a service network restart command
- Konstantinos.E
- Alcatel Unleashed Certified Guru

- Posts: 616
- Joined: 12 Jan 2010 04:15
- Location: Honolulu
First of all thank you tot3nkopf for your help.From vi ifcfg-eth0:0 there wasnt nothing to modify cause everything was setup correcly from netadmin but for some reason i could not ping it.
finally i found the solution by entering this command :
ifconfig eth0:0 10.3.1.100 up
and after a reboot worked.
Thank you all again!!
finally i found the solution by entering this command :
ifconfig eth0:0 10.3.1.100 up
and after a reboot worked.
Thank you all again!!
- Konstantinos.E
- Alcatel Unleashed Certified Guru

- Posts: 616
- Joined: 12 Jan 2010 04:15
- Location: Honolulu
-
jasonwal
