RE: Rediscovering my internet connection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 -----Original Message-----
> From: redhat-list-admin@xxxxxxxxxx
> [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Rodolfo J. Paiz
> Sent: 03 November 2003 18:07
> To: redhat-list@xxxxxxxxxx
> Subject: Re: Rediscovering my internet connection.
>
>
> You need to make sure that you have the following set up
> (assuming that you
> have eth0 as the network card):
>
> In /etc/sysconfig/network:
> HOSTNAME=machine.domain.com
> NETWORKING=yes
> GATEWAYDEV=eth0
>
> In /etc/sysconfig/network-scripts/ifcfg-eth0, make sure that
> "GATEWAY=" is
> set to the IP address of the router. Finally, as root issue the command
> "service network restart".
>
> If this doesn't work immediately, please post the output of "ifconfig -a"
> and "route -n", and give us the IP address of your machine and the router.

Thanks for that Rodolfo, but no joy I'm affraid. Here are the outputs.

[root@Server01 root]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:48:54:1B:3E:1C
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:3410 (3.3 Kb)
          Interrupt:9 Base address:0x6f00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1954 (1.9 Kb)  TX bytes:1954 (1.9 Kb)

[root@Server01 root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.0     0.0.0.0         255.255.255.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.0.100   0.0.0.0         UG    0      0        0 eth0

Machine in question is 192.168.0.1
Router is 192.168.0.100

Alex


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux