openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security » How To Use Two Network Interfaces Simultaneously ?

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-May-2008, 04:30
newbie_spain_madrid
Guest
 
Posts: n/a
Default

Hi everybody,

I'm using Opensuse 10.3 with KDE 3.5 and my computer has two network interfaces: a wireless and a wired. I'm using the wired card to access the Internet, and the wireless for a local network with a PC104. I have to switch to the wired card each time I need to search some information. I using KnetworkManager 0.2 for this.

Is possible to have the two networks working simultaneously ?. How can I do that ?.


Thanks.

  #2 (permalink)  
Old 03-Jun-2008, 10:20
df6269
Guest
 
Posts: n/a
Default

Yes, sure.
You should make sure your default route for internet and then modify your route table for internet and local by route command.
Below is my example:

#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.234.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.244.4.0 192.168.234.254 255.255.255.0 UG 0 0 0 eth0 -- for local
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.254 0.0.0.0 UG 0 0 0 eth1 -- for internet

and then check your /etc/resolv.conf

nameserver 10.244.4.1 --- for local
nameserver 168.95.1.1 --- for internet
 

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2