I'm new to Linux, trying to get a Clonezilla server up.
I'm really bad at understanding how my network should be configured.
eth1 is the card for internet access, behind a proxy (192.168.41.5:80)
eth2 is the card for deploying, connected to a router.
When eth2 is running, I can't seem to connect to the internet as it automatically try to use eth2 for everything (Firefox, ping, apt-get). Why is that?
Running Ubuntu 13.4
eth1 Link encap:Ethernet HWaddr 00:04:76:14:52:9a
inet addr:192.168.12.2 Bcast:192.168.12.255 Mask:255.255.255.0
inet6 addr: fe80::204:76ff:fe14:529a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1821 errors:0 dropped:137 overruns:1 frame:0
TX packets:319 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:214123 (214.1 KB) TX bytes:54667 (54.6 KB)
Interrupt:16 Base address:0xa000
eth2 Link encap:Ethernet HWaddr 00:25:64:e7:2b:e3
inet addr:192.168.200.1 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee7:2be3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1004 (1.0 KB)
Interrupt:16
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:65536 Metric:1
RX packets:1115 errors:0 dropped:0 overruns:0 frame:0
TX packets:1115 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85036 (85.0 KB) TX bytes:85036 (85.0 KB)
My etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.12.2
netmask 255.255.255.0
gateway 192.168.12.213
auto eth2
iface eth2 inet static
address 192.168.200.1
netmask 255.255.255.0
Ps: I'm connected in ssh (what a great invention) into 192.168.12.2 and it works (even if I can't ping my proxy)
Ps2: Sorry if it's a stupid question, "Linux" was just a fancy word for me not so long ago.
Have a good day :)