Results 1 to 2 of 2
1. this is the output of may External adapter internet connection eth0
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 ...
- 06-11-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 5
how to run together the iP of eth0 & eth1
1. this is the output of may External adapter internet connection eth0
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:210801 errors:0 dropped:0 overruns:0 frame:0
TX packets:64366 errors:0 dropped:0 overruns:0 carrier:0
collisions:64 txqueuelen:1000
RX bytes:121408806 (115.7 Mb) TX bytes:5991687 (5.7 Mb)
Interrupt:193 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:11:5B:C6:7C:5C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4998 errors:0 dropped:0 overruns:0 frame:0
TX packets:3231 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:414275 (404.5 Kb) TX bytes:284613 (277.9 Kb)
Interrupt:185 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:186 errors:0 dropped:0 overruns:0 frame:0
TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13361 (13.0 Kb) TX bytes:13361 (13.0 Kb)
2. And this is the output of may internal adapter DHCP eth1
eth0 Link encap:Ethernet HWaddr 00:01:02:6B:3A:25
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:211026 errors:0 dropped:0 overruns:0 frame:0
TX packets:64401 errors:0 dropped:0 overruns:0 carrier:0
collisions:64 txqueuelen:1000
RX bytes:121440406 (115.8 Mb) TX bytes:5995323 (5.7 Mb)
Interrupt:193 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:11:5B:C6:7C:5C
inet addr:192.168.0.2 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::211:5bff:fec6:7c5c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5060 errors:0 dropped:0 overruns:0 frame:0
TX packets:3301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:419573 (409.7 Kb) TX bytes:290657 (283.8 Kb)
Interrupt:185 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:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13763 (13.4 Kb) TX bytes:13763 (13.4 Kb)
3. is there any way how to run there each ip together eth0 & eth1.
so internet and the DHCP will run together...so i can share the internet to the other machine..................
4. THIS IS THE "EXSAMPLE" output of adapter eth0 & eth1, i want to have in may opensuse 10.2.
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:210801 errors:0 dropped:0 overruns:0 frame:0
TX packets:64366 errors:0 dropped:0 overruns:0 carrier:0
collisions:64 txqueuelen:1000
RX bytes:121408806 (115.7 Mb) TX bytes:5991687 (5.7 Mb)
Interrupt:193 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:11:5B:C6:7C:5C
inet addr:192.168.0.2 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::211:5bff:fec6:7c5c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5060 errors:0 dropped:0 overruns:0 frame:0
TX packets:3301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:419573 (409.7 Kb) TX bytes:290657 (283.8 Kb)
Interrupt:185 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:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13763 (13.4 Kb) TX bytes:13763 (13.4 Kb)
how can i make this kind of output together with one machine......pls help me.
- 06-11-2007 #2
You use iptables to set up routing between the two interfaces.
There may be a painless way to do this, but here is a link to the
underlying theory of it.
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/


Reply With Quote