Need a bridge from an ethernet interface to a serial interface


 
Thread Tools Search this Thread
Special Forums IP Networking Need a bridge from an ethernet interface to a serial interface
# 1  
Old 10-25-2010
Need a bridge from an ethernet interface to a serial interface

This is my situation
Code:
DOS pc         serial cable (sl0)  Linux Pc       eth1
192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router)

I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface.

I need the DOS pc can reach the router at 192.168.0.1 and the Internet, so i tried to make a bridge between sl0 and eth1

Code:
# brctl addbr br0
# brctl addif eth1
# brctl addif sl0
can't add sl0 to bridge br0: Invalid argument

Can anyone help me? Thank you for any reply.
# 2  
Old 10-25-2010
I'm pretty sure you skipped some steps. Here is a really good howto:

Linux Online - Set Up The Bridge
# 3  
Old 10-25-2010
I think that you need to run something like:
Code:
route add default 192.168.0.1

on the DOS machine, or just add 192.168.0.1 as the default gateway.
Where this is added though will depend on the TCP software that you are using.
# 4  
Old 10-25-2010
On the DOS machine I'm using Trumpet Winsock on Win3.11. I tried to set 192.168.0.1 as gateway, but now it doesn't connect at all. It cannot reach Internet, the router at 192.168.0.1nor the ubuntu box at 192.168.0.2.

In fact I can set up the SLIP connection only if I set the ubuntu box as gateway.

I tried to enable ip forwarding in the ubuntu box but the Dos pc still doesn't reach the internet...

Help! Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Determine PCI Endpoint for a Serial Interface.

Hi Folks, Here is one for the real Solaris aficionados on the site; I have a T5240 and have to create an I/O domain with access to the serial port, in this case /dev/term/a and although I have been through the documentation I'm having some issues in identifying the device to assign. What I... (2 Replies)
Discussion started by: gull04
2 Replies

2. Linux

Issue with ethernet interface

hello, I have a Linux server with two interfaces eth0 and eth1. I configured two IP addresses from two different networks on 2 interfaces, and I connected both interfaces on two different switches. the IP address of eth0 is responding without problem to ping from equipment of its home network,... (25 Replies)
Discussion started by: cerco
25 Replies

3. Hardware

Oki ML590 Serial Interface Board Issue

Hi Had an old ML590 with RS232 serial card that stopped working (spindle that advance ribbon broke) so I purchased a working used on ebay. Printer powers up and seems fine. Put serial board from old printer in working ebay unit but no printing happens. Does anyone know if there are any... (0 Replies)
Discussion started by: magnetman
0 Replies

4. AIX

interface collisions on ethernet nic

Hi, is there any method to check the interface collisions on ethernet NIC in AIX. I know that in Solaris it's netstat -i but I've written that in AIX it doesn't show this. Thanks&regards, p (1 Reply)
Discussion started by: pitmod
1 Replies

5. UNIX for Advanced & Expert Users

Bridge interface: Netlink socket notification

Hi, For one of my application(Linux 2.6) I am using a netlink socket to get the interface changes notification. socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE) Application receives netlink notification for Ethernet, bond interfaces but there is no notification about bridge interfaces changes. ... (6 Replies)
Discussion started by: learn more
6 Replies

6. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

7. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

8. Solaris

Sun Solaris ethernet interface

Hi, During the installation of solaris suppose I am configuring one ethernet interface that is primary but on my server there are 4 ethernet interfaces,because all other interface not configured, what is way to find out how many ethernet interfaces are there on Server, (6 Replies)
Discussion started by: manoj.solaris
6 Replies

9. Programming

determine if a ethernet interface is up

Howto check if a ethernet interface is up? It's impossible to determine via the ipaddress i have learned, or? Can someone please give me a hint on howto do? Environment == Linux x86 GNU GCC. :D regards Esaia (2 Replies)
Discussion started by: Esaia
2 Replies
Login or Register to Ask a Question