Fedora Linux Support Community & Resources Center
  #1  
Old 22nd August 2007, 09:54 AM
nspmangalore's Avatar
nspmangalore Offline
Registered User
 
Join Date: Nov 2006
Location: Mangalore, India
Posts: 241
2 connections, 1 NIC

is it possible to maintain 2 different connections for 1 Network card that i have.

let me be more clear,
i have 1 NIC on my system, and 2 different ethernet cable connections.
each of those connections require my card to be configured to different ip addresses.
so, instead of having to type in the addresses manually every time i use a different cable, is there an easier approach??

if i can know which is the configuration file which stores this ip info, maybe i can maintain 2 copies of it and use the appropriate file whenever necessary. will that work?

also, is there any way to identify which of the 2 cables is plugged in and choose the appropriate configuratiion file.

sorry for the long post...
thanks in advance.
__________________
Linux user #452049 :D
Reply With Quote
  #2  
Old 22nd August 2007, 04:58 PM
PatMcLJr's Avatar
PatMcLJr Offline
Registered User
 
Join Date: Apr 2005
Location: earth
Posts: 1,130
maybe a

Code:
#! /bin/bash
blah
blah
blah
would do it? you could write one that toggles the ips

Code:
man ifconfig
Best of Luck,
Pat Jr
__________________
x--x--x
http://www.gnu.org/philosophy/free-sw.html
Freedom is never Free.
Pat Jr.
Reply With Quote
  #3  
Old 23rd August 2007, 03:03 PM
nspmangalore's Avatar
nspmangalore Offline
Registered User
 
Join Date: Nov 2006
Location: Mangalore, India
Posts: 241
Quote:
Originally Posted by PatMcLJr
maybe a

Code:
#! /bin/bash
blah
blah
blah
would do it? you could write one that toggles the ips

Code:
man ifconfig
Best of Luck,
Pat Jr
thanks for the reply, Pat.
ifconfig should do it.
__________________
Linux user #452049 :D
Reply With Quote
Reply

Tags
connections, nic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 connections, 1 NIC nspmangalore Using Fedora 1 22nd August 2007 10:03 AM
Help with my connections. Allieonfire Using Fedora 1 3rd July 2006 06:35 AM
VPN Connections. Jeffa Using Fedora 3 17th October 2004 04:31 AM


Current GMT-time: 06:03 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat