Page 1 of 1

Cannot config Default Gateway

PostPosted: Mon Mar 08, 2010 1:23 pm
by Sergey_pech
Hi, I am having some issues with my fresh vicidial Now install.

before I start here are the specs of my network and computer.

The ISP is Rogers Cable, With a motorola cable modem , connected to a di-524 router. The router is connected to the computer server directly.

The server is a p4 3ghz, 1gig ram, with video, Lan, and sound onboard.


The issue i am having is setting my default gateway so that I can access the config gui.

When I type in route add default gw 173.34.82.1 ( as is the default gateway according to my router page)

when i type this command I get network is unreachable. as a result i have not been able to access the server.

what should i do to resolve this issue

PostPosted: Mon Mar 08, 2010 2:10 pm
by Michael_N
You dlink router should have give your server ipnumber in the 192.168.0.* block of ipadresses

So just connect your other computer to your router and logon to your server gui

PostPosted: Mon Mar 08, 2010 7:01 pm
by Sergey_pech
I can get on the router page. what i can not do is connect to the server or set the default gateway that is displayed in the router page.


I type the command route add default gw .....

it says network not available when i do a ping, it say unrecognized host as if not connected to net

PostPosted: Mon Mar 08, 2010 9:19 pm
by williamconley
by the time you type the command route add ... it should already be set up. When you installed the software initially, it asked for your server's ip address and the router's address. That's the time to put them in. If you want to change them later, you want to modify your network settings.

Code: Select all
nano /etc/sysconfig/network-scripts/ifcfg-eth0
Try that file for setting the appropriate ip address on the machine (to a local IP if you are inside a router's local area network).

Code: Select all
nano /etc/sysconfig/network
this should contain your gateway for CentOS

Code: Select all
nano /etc/resolv.conf
this should contain your dns server(s)

beware: there are A LOT of different ways to set up networking on linux boxes. often just reinstalling is the simplest solution (never be afraid to reinstall if you are learning, you'll get more used to the system as you go)

PostPosted: Tue Mar 09, 2010 11:29 am
by gardo
Easiest way to do it on your VicidialNOW system is by running: "system-config-network" as root on your commandline. This is an ncurses based graphical tool to configure your network. Afterwards, run: "service network restart" to apply the changes.