LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2004, 01:25 AM   #16
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45

Hi!

I ping it from the local network.
Yes I setup rc.inet1.conf eth0 and eth1. With eth0 - dhcp eth1 - fix ip.
eth0 works find.

I am beginning to suspect the eth1 is faulty. I will switch it with another card do confirm this.
 
Old 03-11-2004, 09:24 AM   #17
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
well, if you setup eth1 in the rc.inet1.conf file but ifconfig shows no settings for that card, why don't you manually set eth1 and see if that works. Have you tried that?
I only asked about ipV6 out of curiosity. I think that might just complicate the issue at this point. I would first get the two cards working, then worry about that. Just my opinion though...
 
Old 03-11-2004, 09:37 PM   #18
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
Good NEWS!

eth1 is up and running. ping successful (I assume other protocol as well). What did I do?
1. Use kernel 2.6.4
2. Change the NIC (same model).

The problematic NIC works fine in another comp. Don't know what causes the problem.

So now, to configure the bridge. Still blur about this.
 
Old 03-12-2004, 07:57 AM   #19
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
Good work!

Below is the howto I used to get mine up and running. And it hasn't failed me since. You just have to make sure that you point the eth1 and eth0 to the right places. Hope that helps.

http://www.tldp.org/HOWTO/IP-Masquer...FIREWALL-2.4.X
 
Old 03-12-2004, 10:41 AM   #20
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
There seems to a lot of changes around the e100 driver in 2.6.4
In the original post I saw "bridge". Bridging is much harder to set up in Linux than routing and I have no idea what is involved in the 2.6.x kernel
 
Old 03-14-2004, 03:01 AM   #21
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
Hi!

I read Network Administer Guide 2 (on NAT). And I did download and print IP-Masquerade, haven't get to read it yet. I realise what I need is NAT (IP-Masquerade).

As I was configuring the kernel to support that in 2.6.4, I came across ethernet bridging and wonder what is it.
 
Old 03-16-2004, 11:44 PM   #22
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
Alright, I got IP-Masq (SNAT) up and running.

Here is how I did it.

1. Get eth0 and eth1 working
2. Compile kernel to support ip-masq (check ip-masq-howto from tldp.org for the configs)
3. Download rc.firewall from http://www.ecst.csuchico.edu/~dranch...masq/examples/
4. Edit the ip-addresses and remove loading modules if you compile everything into the kernel like I did.
5. Place rc.firewall at /etc/rc.firewall and chmod 700 rc.firewall
6. ./rc.firewall
(I also chmod +x rc.ip_forward; not sure it is needed since rc.firewall will enable ip forward also).
And I am up and away. Tested it, everythign work so far.

But since I used strong firewall script, now I can't ssh or ping my Masq-server from outside. Need to configure the rc.firewall again, later.
 
  


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
howto connect router to router? kvasarnomad Linux - Networking 4 09-04-2005 09:14 PM
Can't build simple program!! kwlux Programming 3 11-21-2004 05:17 AM
Howto build xfree86? BroX Slackware 5 03-08-2004 10:20 AM
howto build ipk files for zaurus Brain Drop Linux - Laptop and Netbook 1 03-05-2004 12:27 AM
Howto build a multi ISO cd codeape Linux - Software 2 02-22-2004 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:02 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