Mailinglist Archive: opensuse (2441 mails)
| < Previous | Next > |
Re: [SLE] Using Samba
- From: Toshi Esumi <toshie_suse@xxxxxxxxxxx>
- Date: Thu, 16 Jun 2005 23:43:46 -0700
- Message-id: <1118990626.21711.9.camel@xxxxxxxxxxxxxxxxxxx>
On Mon, 2005-06-13 at 07:59 -1000, Susemail wrote:
>
> How do I tell if it's a valid one? I know 127.0.0.1 is valid:
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:8699 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8699 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:2750512 (2.6 Mb) TX bytes:2750512 (2.6 Mb)
>
> Jerome
>
If someone already pointed this out, please discard my comment:
1. As you can see, "lo" is Local Loopback interface. Even if your linux
machine is not connected network at all, you can always "ping" any IP
addresses in this subnet, which are 127.0.0.1 - 127.255.255.254. Those
ping packets never go out through your ethernet port.
2. If you have any ethernet interface, you should have "eth0" interface
like below, in addition to "lo":
suse93-2:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:6A:2C:B0:45
inet addr:192.168.254.2 Bcast:192.168.254.255
Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fe2c:b045/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5410 errors:0 dropped:0 overruns:0 frame:0
TX packets:5166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3035562 (2.8 Mb) TX bytes:631546 (616.7 Kb)
Interrupt:11 Base address:0xbc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:938 errors:0 dropped:0 overruns:0 frame:0
TX packets:938 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:74812 (73.0 Kb) TX bytes:74812 (73.0 Kb)
"eth0" is the real ethernet interface. Please check this at your PC.
Toshi
>
> How do I tell if it's a valid one? I know 127.0.0.1 is valid:
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:8699 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8699 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:2750512 (2.6 Mb) TX bytes:2750512 (2.6 Mb)
>
> Jerome
>
If someone already pointed this out, please discard my comment:
1. As you can see, "lo" is Local Loopback interface. Even if your linux
machine is not connected network at all, you can always "ping" any IP
addresses in this subnet, which are 127.0.0.1 - 127.255.255.254. Those
ping packets never go out through your ethernet port.
2. If you have any ethernet interface, you should have "eth0" interface
like below, in addition to "lo":
suse93-2:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:6A:2C:B0:45
inet addr:192.168.254.2 Bcast:192.168.254.255
Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fe2c:b045/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5410 errors:0 dropped:0 overruns:0 frame:0
TX packets:5166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3035562 (2.8 Mb) TX bytes:631546 (616.7 Kb)
Interrupt:11 Base address:0xbc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:938 errors:0 dropped:0 overruns:0 frame:0
TX packets:938 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:74812 (73.0 Kb) TX bytes:74812 (73.0 Kb)
"eth0" is the real ethernet interface. Please check this at your PC.
Toshi
| < Previous | Next > |