Jump to content

artlk

Members
  • Posts

    11
  • Joined

  • Last visited

artlk's Achievements

New Here

New Here (1/7)

0

Reputation

  1. where i need to set idle n option in centos server pls explain and if it pppo is drop after timer then link is down but what happend when link is up then this timer how works i am get little bit confuse
  2. you mean to say that if ppp0 is time out after 3 min then i have to run my script right but one thing i like to share when i disconnect phone line from modem then if i checked link status by /sbin/adsl-status it shows ppp0 is connected and after 2 min if i checked status then it shows error as "link is attached to ppp0 but ppp0 is down " in that case if i set gateway as 10.10.1.169 then it set but it automatically removed again
  3. Hi i cant understand that need to set some kind of idle timeout for ppp0 can you please explain me in detail
  4. Hi you are right but when i make /sbin/ifdown ppp0(here link is connected to adsl modem) then the server take default gateway 10.10.1.169 and net start in centos server but what do you think if i dont remove telephone line from modem and if real condition occur i.e net is down from bsnl then in that case default gateway 10.10.1.169 is set automatically or not
  5. Thanks for reply i try to achieve that if my internet from centos server is down then i have to take internet from another window pc on which net is connected . as i told i have centos on which 2 nic card one etho connected to eth0 and bsnl isp line connected to eth1 via adsl modem. set default gateway ip 10.10.1.169 (this is ip of window pc on which net is connected) in /etc/sysconfig/network file when i make /sbin/ifdown ppp0(ppp0 is bsnl link when bsnl link is working) then the server take default gateway 10.10.1.169 and net start in centos server but when i remove telepone line from modem then default gateway ip 10.10.1.169 is not set ,if i manually set default gateway to 10.10.1.169 it set checked by route -n but after 3-4 min it is remove automatically pls suggest what is wrong and what i have to do
  6. Hi i have 2 nic connected to centos server etho to lan and eth1 to bsnl isp and set default gateway ip 10.10.1.169 in /etc/sysconfig/network file when i make /sbin/ifdown ppp0 then the server take default gateway 10.10.1.169 but when i remove telepone line from modem then default gateway ip 10.10.1.169 is not set , pls suggest what is wrong and what i have to do
×
×
  • Create New...