Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connecting to internet through ethernet card..

Reply
Thread Tools Display Modes

Connecting to internet through ethernet card..

 
 
Roman Khutkyy
Guest
Posts: n/a

 
      05-04-2004, 08:03 AM
Hi all,
Im new to Lnux... But i've heard a lot of about its flexibility, and
desided to change our gateaway's OS (from XP to Linux). I've choose the
Red Hat 9.0 distributive to operate with. From the first sight it appear
to me as friendly, easy to tune. But next things have kick me down... Till
now we where connected to Internet through ethernet card, we have the
fixed IP assigned by our ISP, we also have the ISP's DNS servers and
gateway. There is two ethernet cards on computer - one for Inet, another
one to distribute Inet traffic among local mashines. I've tried to make
everything as it wrote in clever book...
1. I've used ifconfig command to assign certain IPs and netmasks to
ethernet cards.
2. I've used route to add the default gateway.
3. I've turned firewall off AT ALL.
But I still can't even ping my ISP's gateway IP - all packets are sending
but nothing is received - 100% lost. In local network Is there any
additional things i should know. Whats wrong? I where installed the OS
whith most common setup. HELP!!!! PLEASE. I've spent about whole week to
get success - but nothing work out.
 
Reply With Quote
 
 
 
 
Bas Laurier
Guest
Posts: n/a

 
      05-04-2004, 08:07 AM

"Roman Khutkyy" <(E-Mail Removed)> wrote in message
newspr7gtzz0rx0ftli@192.168.0.6...
> Hi all,
> Im new to Lnux... But i've heard a lot of about its flexibility, and
> desided to change our gateaway's OS (from XP to Linux). I've choose the
> Red Hat 9.0 distributive to operate with. From the first sight it appear
> to me as friendly, easy to tune. But next things have kick me down... Till
> now we where connected to Internet through ethernet card, we have the
> fixed IP assigned by our ISP, we also have the ISP's DNS servers and
> gateway. There is two ethernet cards on computer - one for Inet, another
> one to distribute Inet traffic among local mashines. I've tried to make
> everything as it wrote in clever book...
> 1. I've used ifconfig command to assign certain IPs and netmasks to
> ethernet cards.
> 2. I've used route to add the default gateway.
> 3. I've turned firewall off AT ALL.
> But I still can't even ping my ISP's gateway IP - all packets are sending
> but nothing is received - 100% lost. In local network Is there any
> additional things i should know. Whats wrong? I where installed the OS
> whith most common setup. HELP!!!! PLEASE. I've spent about whole week to
> get success - but nothing work out.


Did you turn ipforwarding on ?

Bas



 
Reply With Quote
 
Roman Khutkyy
Guest
Posts: n/a

 
      05-04-2004, 08:29 AM
Yes, echo "1" > /proc/sys/net/ipv4/ip_forward

On Tue, 4 May 2004 10:07:18 +0200, Bas Laurier <(E-Mail Removed)> wrote:

>
> "Roman Khutkyy" <(E-Mail Removed)> wrote in message
> newspr7gtzz0rx0ftli@192.168.0.6...
>> Hi all,
>> Im new to Lnux... But i've heard a lot of about its flexibility, and
>> desided to change our gateaway's OS (from XP to Linux). I've choose the
>> Red Hat 9.0 distributive to operate with. From the first sight it appear
>> to me as friendly, easy to tune. But next things have kick me down...
>> Till
>> now we where connected to Internet through ethernet card, we have the
>> fixed IP assigned by our ISP, we also have the ISP's DNS servers and
>> gateway. There is two ethernet cards on computer - one for Inet, another
>> one to distribute Inet traffic among local mashines. I've tried to make
>> everything as it wrote in clever book...
>> 1. I've used ifconfig command to assign certain IPs and netmasks to
>> ethernet cards.
>> 2. I've used route to add the default gateway.
>> 3. I've turned firewall off AT ALL.
>> But I still can't even ping my ISP's gateway IP - all packets are
>> sending
>> but nothing is received - 100% lost. In local network Is there any
>> additional things i should know. Whats wrong? I where installed the OS
>> whith most common setup. HELP!!!! PLEASE. I've spent about whole week to
>> get success - but nothing work out.

>
> Did you turn ipforwarding on ?
>
> Bas
>
>
>


 
Reply With Quote
 
Bas Laurier
Guest
Posts: n/a

 
      05-04-2004, 09:30 AM

"Roman Khutkyy" <(E-Mail Removed)> wrote in message
newspr7gu7axax0ftli@192.168.0.6...
> Yes, echo "1" > /proc/sys/net/ipv4/ip_forward
>
> On Tue, 4 May 2004 10:07:18 +0200, Bas Laurier <(E-Mail Removed)> wrote:
>
> >
> > "Roman Khutkyy" <(E-Mail Removed)> wrote in message
> > newspr7gtzz0rx0ftli@192.168.0.6...
> >> Hi all,
> >> Im new to Lnux... But i've heard a lot of about its flexibility, and
> >> desided to change our gateaway's OS (from XP to Linux). I've choose the
> >> Red Hat 9.0 distributive to operate with. From the first sight it

appear
> >> to me as friendly, easy to tune. But next things have kick me down...
> >> Till
> >> now we where connected to Internet through ethernet card, we have the
> >> fixed IP assigned by our ISP, we also have the ISP's DNS servers and
> >> gateway. There is two ethernet cards on computer - one for Inet,

another
> >> one to distribute Inet traffic among local mashines. I've tried to make
> >> everything as it wrote in clever book...
> >> 1. I've used ifconfig command to assign certain IPs and netmasks to
> >> ethernet cards.
> >> 2. I've used route to add the default gateway.
> >> 3. I've turned firewall off AT ALL.
> >> But I still can't even ping my ISP's gateway IP - all packets are
> >> sending
> >> but nothing is received - 100% lost. In local network Is there any
> >> additional things i should know. Whats wrong? I where installed the OS
> >> whith most common setup. HELP!!!! PLEASE. I've spent about whole week

to
> >> get success - but nothing work out.

> >
> > Did you turn ipforwarding on ?
> >
> > Bas
> >

>

From your story its not completly clear from which machine you cant ping.
Cant you ping from your Linux machine you installing now or from your
machines on the local network ? If you cant ping from the machines on the
local network ,how do they get an ip and default gateway ?

Bas


 
Reply With Quote
 
Kamus of Kadizhar
Guest
Posts: n/a

 
      05-04-2004, 09:44 AM
On Tue, 04 May 2004 11:30:19 +0200, Bas Laurier wrote:

>> >> But I still can't even ping my ISP's gateway IP - all packets are
>> >> sending
>> >> but nothing is received - 100% lost. In local network Is there any
>> >> additional things i should know. Whats wrong? I where installed the OS
>> >> whith most common setup. HELP!!!! PLEASE. I've spent about whole week

> to
>> >> get success - but nothing work out.


Did you set up a default route?

Describe your setup in detail - post output of

/sbin/ifconfig
/sbin/route

Are you trying to do NAT? Or does each of your internal machines have its
public IP address?

--Kamus

--
o__ | May your trails be dim, lonesome, stony, narrow, winding and
,>/'_ | only slightly uphill. May the wind bring rain for the slickrock
(_)\(_) | potholes fourteen miles on the other side of yonder blue ridge.
| May God's dog serenade your campfire, may the rattlesnake and
o | the screech owl amuse your reveries, may the Great Sun dazzle
>[] | your eyes by day and the Great Bear watch over you at night.

/\ |
\ \ | - Edward Abbey, Beyond the Wall

 
Reply With Quote
 
Roman Khutkyy
Guest
Posts: n/a

 
      05-04-2004, 10:23 AM
Let's forget about local mashines. let's forget about about second
(internal) network.
There is only Linux mashine connected (i try to do this) to ISP.

On Tue, 4 May 2004 11:30:19 +0200, Bas Laurier <(E-Mail Removed)> wrote:

>
> "Roman Khutkyy" <(E-Mail Removed)> wrote in message
> newspr7gu7axax0ftli@192.168.0.6...
>> Yes, echo "1" > /proc/sys/net/ipv4/ip_forward
>>
>> On Tue, 4 May 2004 10:07:18 +0200, Bas Laurier <(E-Mail Removed)>
>> wrote:
>>
>> >
>> > "Roman Khutkyy" <(E-Mail Removed)> wrote in message
>> > newspr7gtzz0rx0ftli@192.168.0.6...
>> >> Hi all,
>> >> Im new to Lnux... But i've heard a lot of about its flexibility, and
>> >> desided to change our gateaway's OS (from XP to Linux). I've choose

>> the
>> >> Red Hat 9.0 distributive to operate with. From the first sight it

> appear
>> >> to me as friendly, easy to tune. But next things have kick me down...
>> >> Till
>> >> now we where connected to Internet through ethernet card, we have the
>> >> fixed IP assigned by our ISP, we also have the ISP's DNS servers and
>> >> gateway. There is two ethernet cards on computer - one for Inet,

> another
>> >> one to distribute Inet traffic among local mashines. I've tried to

>> make
>> >> everything as it wrote in clever book...
>> >> 1. I've used ifconfig command to assign certain IPs and netmasks to
>> >> ethernet cards.
>> >> 2. I've used route to add the default gateway.
>> >> 3. I've turned firewall off AT ALL.
>> >> But I still can't even ping my ISP's gateway IP - all packets are
>> >> sending
>> >> but nothing is received - 100% lost. In local network Is there any
>> >> additional things i should know. Whats wrong? I where installed the

>> OS
>> >> whith most common setup. HELP!!!! PLEASE. I've spent about whole week

> to
>> >> get success - but nothing work out.
>> >
>> > Did you turn ipforwarding on ?
>> >
>> > Bas
>> >

>>

> From your story its not completly clear from which machine you cant ping.
> Cant you ping from your Linux machine you installing now or from your
> machines on the local network ? If you cant ping from the machines on the
> local network ,how do they get an ip and default gateway ?
>
> Bas
>
>


 
Reply With Quote
 
Alexander Plassov
Guest
Posts: n/a

 
      05-04-2004, 01:04 PM
I think you missed something during the installation.

the parameters you apply with ifconfig are gone after reboot. Just use the
distribution configuration tools for that purpose.

If you are new to linux, do not do so complicated things with RH 9.0. This
is not a server OS, though you can still manage it. Because it is linux.

I think you have to try SuSE 9.0 or 9.1 for that stuff. It is more
friendly as for the beginners and you can install it via FTP-mirror or by
getting ISO's from the inet.

the install and tune tools in SuSE are easy to use and to understand.

Alex
 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      05-04-2004, 03:06 PM
On Tue, 04 May 2004 11:03:25 +0300, Roman Khutkyy wrote:

> Hi all,
> Im new to Lnux... But i've heard a lot of about its flexibility, and
> desided to change our gateaway's OS (from XP to Linux). I've choose the
> Red Hat 9.0 distributive to operate with. From the first sight it appear
> to me as friendly, easy to tune. But next things have kick me down... Till
> now we where connected to Internet through ethernet card, we have the
> fixed IP assigned by our ISP, we also have the ISP's DNS servers and
> gateway. There is two ethernet cards on computer - one for Inet, another
> one to distribute Inet traffic among local mashines. I've tried to make
> everything as it wrote in clever book...
> 1. I've used ifconfig command to assign certain IPs and netmasks to
> ethernet cards.
> 2. I've used route to add the default gateway.
> 3. I've turned firewall off AT ALL.
> But I still can't even ping my ISP's gateway IP - all packets are sending
> but nothing is received - 100% lost. In local network Is there any
> additional things i should know. Whats wrong? I where installed the OS
> whith most common setup. HELP!!!! PLEASE. I've spent about whole week to
> get success - but nothing work out.


I would suggest you look through the 'how-to's' which are probably
installed on your computer or which can be found at www.tldp.org. The
network howto should help you get things working.

 
Reply With Quote
 
Georg Armbruster
Guest
Posts: n/a

 
      05-04-2004, 03:55 PM
On Tue, 04 May 2004 15:04:30 +0200, Alexander Plassov wrote:

> If you are new to linux, do not do so complicated things with RH 9.0. This
> is not a server OS, though you can still manage it. Because it is linux.
>
> I think you have to try SuSE 9.0 or 9.1 for that stuff. It is more
> friendly as for the beginners and you can install it via FTP-mirror or by
> getting ISO's from the inet.


Hi Alex,
just that I get this right: Redhat is not a server OS, but
Suse is? Very keen opinion, I guess ))

Regards,
Georg
 
Reply With Quote
 
Georg Armbruster
Guest
Posts: n/a

 
      05-04-2004, 03:56 PM
On Tue, 04 May 2004 11:03:25 +0300, Roman Khutkyy wrote:

> [trouble connecting to ISP with static address]


Hi Roman,
as you have been told, post the output of
ifconfig,
route and
iptables -L.

Regards,
Georg
 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop not connecting to internet via my wireless card mparkersr37 Wireless Networks 1 05-22-2006 10:08 PM
Ethernet Card Issues: Unable to connect to Internet. Please Help. SK Windows Networking 0 03-04-2005 10:07 AM
GP Fault in internet explorer and AOL after I installed ethernet card Billy Hart Windows Networking 0 10-02-2003 06:53 PM
access internet via dial up modem, other computer via ethernet card Patrick Brouckxon Windows Networking 0 09-01-2003 12:42 PM
How to move ethernet card to 0 ethernet David Windows Networking 1 07-04-2003 11:55 AM



1 2 3 4 5 6 7 8 9 10 11