Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IEEE 1394 Networking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rabix
n00b
n00b


Joined: 13 May 2004
Posts: 7
Location: University of Pretoria

PostPosted: Tue Jul 13, 2004 7:41 pm    Post subject: IEEE 1394 Networking Reply with quote

Hi all.
I am running a small home network between a number of PC's. Currently i have a PC running Gentoo with both a firewire (ieee1394) and standard 100Mb network card. I would like to be able to plug my laptop directly into my PC's firewire card in order to acess the internet and network. (The switch is too far away to justify installing a new network cable). Anyone have any idea of how to achieve this. If there is already a post dealing with this topic could somebody point me there. Thanks
Back to top
View user's profile Send private message
tomthewombat
Apprentice
Apprentice


Joined: 29 Mar 2003
Posts: 244
Location: NY State

PostPosted: Tue Jul 13, 2004 8:49 pm    Post subject: Reply with quote

if you compile the right module in your kernel, then you should be able to modprobe eth1394 and then configure it just like a normal ethx network interface.
_________________
http://www.wombatorium.net
Back to top
View user's profile Send private message
rabix
n00b
n00b


Joined: 13 May 2004
Posts: 7
Location: University of Pretoria

PostPosted: Thu Jul 15, 2004 7:56 am    Post subject: Reply with quote

Thanks for the reply.

Excuse me for being a complete idiot but how do i accomplish this (without messing up eth0) and allowing the two to communicate together and share the same IP address.
Back to top
View user's profile Send private message
tomthewombat
Apprentice
Apprentice


Joined: 29 Mar 2003
Posts: 244
Location: NY State

PostPosted: Thu Jul 15, 2004 1:28 pm    Post subject: Reply with quote

I'm sorry, but that is a bit out of my league. I know it mentions setting up multiple network interfaces in the Gentoo install docs. You need to give both the ieee1394 connections internal ips on the same subnets. (ie 192.168.x.x) Then configure the laptop to use your desktop as a gateway. Tell your laptop to use the same DNS host your desktop uses. The desktop can just route all the traffic between them.

As for howto do the actually routing between eth0 and eth1 on your desktop, I am unsure. I know you will need IP chains.. or whatever the new system is.. compiled into your kernel. Maybe someone else can help you out.
_________________
http://www.wombatorium.net
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Thu Jul 15, 2004 3:53 pm    Post subject: Reply with quote

Check out some of the firewall scripts that are available. I'm not exactly sure if you can make an firewire connection act like a NIC, but who knows. Anyhow if you're able to get the Firewire card to have an IP, then you could tell something like Shorewall about it and that you want it to do routing for that card. Just check out the masquarading options, or you could even set it up so that it's on the same IP subnet as the rest of your network, which (assuming you allow shorewall to do this) would mean the computers on the network would be able to see the laptop as well (as opposed to just your desktop computer being able to see it).

Best of luck, lemme know if it works!

Petyr Rahl
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Thu Jul 22, 2004 5:18 am    Post subject: tcp/ip Reply with quote

these firewire links are tcp/ip over firewire, and they do not do netbios. just pure tcp/ip. so you can use them like a NIC but don't expect to resolve samba names accross the link as they are on netbios.

if you use their IP it works fine. eg. //192.168.x.x/sharename

also, 10/100, specifically the 100, is 12.5MB/sec(100Mb / 8bits/byte) and firewire400 is 50MB/sec without netbios overhead. you can get a realworld speed of about 20MB/sec which is better than the 5-6MB/sec from ethernet.

but remember the limitations of being TCP/IP ONLY.
Back to top
View user's profile Send private message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Mon Mar 28, 2005 3:42 pm    Post subject: Reply with quote

Is it at all possible to run a DHCP client over firewire? From what I have seen dhcpcd doesn't want to pick up an ip address from a ethernet over firewire network, however a dhcp server can be run on it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum