LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2002, 07:43 AM   #1
matamp
LQ Newbie
 
Registered: Oct 2002
Posts: 1

Rep: Reputation: 0
Script for Linux


Hi,

I have following environment at home. ADSL Internet connection with public and dynamic IP address. Linux RedHat 7.3 installed in desktop with two NIC:s. Other NIC is for public network and the other is private. I use IPTables firewall in Linux and SNAT.

My problem is that every time my Internet connection goes down, I have to configure default gateway manually and I have to also re-configure IPTables script.

Is there any changes to make a script that new IP address is set to default gateway address automatically. It would be nice if I could change it to my IPTables script too.

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux script victor vinod Programming 5 01-21-2005 05:27 AM
same awk script running on linux 7.2 and linux 10 suchi_s Programming 2 11-22-2004 07:47 AM
Converting a Windows Perl script to a Linux Perl script. rubbercash Programming 2 07-19-2004 10:22 AM
linux 9 and java script error - premature end of script header sibil Linux - Newbie 0 01-06-2004 04:21 PM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration