Results 1 to 3 of 3
hi,
am setting up a internet sharing.and i have all ready internet in may machine using suse 10.2
heres the output of may adapter!!!
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:6B:3A:25
...
- 06-10-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 5
tips internet sharing
hi,
am setting up a internet sharing.and i have all ready internet in may machine using suse 10.2
heres the output of may adapter!!!
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:6B:3A:25
inet addr:192.168.252.235 Bcast:192.168.255.255 Mask:255.255.224.0
inet6 addr: fe80::201:2ff:fe6b:3a25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93904 errors:0 dropped:0 overruns:0 frame:0
TX packets:2621 errors:0 dropped:0 overruns:0 carrier:0
collisions:10 txqueuelen:1000
RX bytes:8315949 (7.9 Mb) TX bytes:359792 (351.3 Kb)
Interrupt:177 Base address:0xc400
eth1 Link encap:Ethernet HWaddr 00:11:5B:C6:7C:5C
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:201 Base address:0xd800
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:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2610 (2.5 Kb) TX bytes:2610 (2.5 Kb)
1. May question is, why i have no address in eth1...how do i get the address in eth1
actually i try to put static ip 192.168.0.1 in eth1.but when i use this command to restart the network connection......./etc/init.d/network restart
this is the output
eth0 Link encap:Ethernet HWaddr 00:01:02:6B:3A:25
inet addr:192.168.252.235 Bcast:192.168.255.255 Mask:255.255.224.0
inet6 addr: fe80::201:2ff:fe6b:3a25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93904 errors:0 dropped:0 overruns:0 frame:0
TX packets:2621 errors:0 dropped:0 overruns:0 carrier:0
collisions:10 txqueuelen:1000
RX bytes:8315949 (7.9 Mb) TX bytes:359792 (351.3 Kb)
Interrupt:177 Base address:0xc400
eth1 Link encap:Ethernet HWaddr 00:11:5B:C6:7C:5C
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:201 Base address:0xd800
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:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2610 (2.5 Kb) TX bytes:2610 (2.5 Kb)
2. last week i try to configure this, i did first configure the two Adapter set as DHCP client, setup DNS and hostname, setup Routing.
i did this by following the Cool Solutions: HOW-TO: Set Up a SUSE 10 Machine As a Router
3. may problem is the "eth1" address..
Any one can guide me in may PROBLEM in internet sharing? Im just a beginner in linux
Regards
- 06-10-2007 #2
- Which adapter is connected to the internet?
- Is there a router between this computer and the internet?
- 06-11-2007 #3Just Joined!
- Join Date
- Jun 2007
- Posts
- 5
tnx 4 reply
eth0 Link encap:Ethernet HWaddr 00:01:02:6B:3A:25
inet addr:192.168.252.235 Bcast:192.168.255.255 Mask:255.255.224.0
inet6 addr: fe80::201:2ff:fe6b:3a25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93904 errors:0 dropped:0 overruns:0 frame:0
TX packets:2621 errors:0 dropped:0 overruns:0 carrier:0
collisions:10 txqueuelen:1000
RX bytes:8315949 (7.9 Mb) TX bytes:359792 (351.3 Kb)
Interrupt:177 Base address:0xc400
That is the external adapter i use to connect to internet eth0 (3com adapter PCI) actually i have no router...im using a wifi internet wireless the gaget i use is canopy 7.5 produce by the smartbro ISP provider...as you can see
may eth0 have a IP. inet addr:192.168.252.235 etc. after i have login to the fortal of smartbro ISP. i have may internet!...
my plan is im making a router machine to share may internet to may other machine....and i have allready configure the DHCP,DNS and Hostname,routing
i allready asign STATIC IP to eth1 which is buildin Adapter...the IP i use to eth1 is 192.168.0.1 and range ip i asign to the DHCP is 192.168.0.11 - 192.168.0.44
brother, ill show you again the output of the two adapter i use
th0 Link encap:Ethernet HWaddr 00:01:02:6B:3A:25
inet addr:192.168.252.235 Bcast:192.168.255.255 Mask:255.255.224.0
inet6 addr: fe80::201:2ff:fe6b:3a25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93904 errors:0 dropped:0 overruns:0 frame:0
TX packets:2621 errors:0 dropped:0 overruns:0 carrier:0
collisions:10 txqueuelen:1000
RX bytes:8315949 (7.9 Mb) TX bytes:359792 (351.3 Kb)
Interrupt:177 Base address:0xc400
eth1 Link encap:Ethernet HWaddr 00:11:5B:C6:7C:5C
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:201 Base address:0xd800
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:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2610 (2.5 Kb) TX bytes:2610 (2.5 Kb)
eth0 is my External connection, eth1 is my internal connection...
here is my TEXT diagram
INTERNET
|
|
|
EXTERNAL CONNECTION
INTERNAL CONNECTION
|
|
|
SWITCH OR HAB
|
CLIENT MACHINE


Reply With Quote