Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Neorouter Linux client Static IP static route??
PostPosted: Tue Jan 26, 2010 9:34 am 
Offline

Joined: Sat Dec 26, 2009 3:01 pm
Posts: 16
Is there any way in CentOS to make the neorouter interface to have a static ip and when this interface is starting, adding static route for this interface ?? Because right now i'm able to make routing work, but if i put the static routing in the /etc/sysconfig/static-route file, it get bypassed since when i boot the computer, the nrtap device isn't up yet, so i need to have something like the static-ethX file for the nrtap in the /etc/sysconfig/network-scripts/ directory, but i'm not shure if it will be ok? and if i create a file ifcfg-nrtap with the static ip info in it, does it will get added to the interface list ?? at startup thanx!


Top
 Profile  
 
 Post subject: Re: Neorouter Linux client Static IP static route??
PostPosted: Tue Jan 26, 2010 11:21 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Yes. You can define scripts called by NR Client on the following events. These scripts should be defined in the Feature.ini file too

1.When initialize the tap device, but not activate it yet

CmdOnTapInit=xxxxxxxxx

2.When the tap device gets activated

CmdOnTapActive=xxxxxxxxx

3.When tap device gets destroyed

CmdOnTapUninit=xxxxxxxxx


These options are available on all platforms.

For example, you can define a script gets run after tap gets virtual IP address assigned.

Code:
Feature.ini

....
CmdOnTapActive=/usr/bin/setroutetable.sh
....


Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: Neorouter Linux client Static IP static route??
PostPosted: Tue Jan 26, 2010 1:11 pm 
Offline

Joined: Sat Dec 26, 2009 3:01 pm
Posts: 16
And is it possible to set static ip to NRclient ?? in different subnet ??

Some computer on the 10.0.1.0/24
Some computer on the 10.0.2.0/24
etc and being able to communicate them all ?


Top
 Profile  
 
 Post subject: Re: Neorouter Linux client Static IP static route??
PostPosted: Tue Jan 26, 2010 3:15 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
No. NR does not support static virtual IP address now.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: