manelson05
asked on
Unbuntu server Etho set up
I have the default ilo interface (localhost) running.
I have an assignable ip that is 192.168.1.116, I am using 1:1 nat for the static public IP.
However I notice that eth0 and eth1 are not configured as snort errors out on me
I get Nut Using PCAP_FRAMES, and the integrated UNBUNTU firewall cannot start says interface error.
The server I have set up has 2 nic cards in it. I am only using one.
How can I manually setup up the nic?
I have an assignable ip that is 192.168.1.116, I am using 1:1 nat for the static public IP.
However I notice that eth0 and eth1 are not configured as snort errors out on me
I get Nut Using PCAP_FRAMES, and the integrated UNBUNTU firewall cannot start says interface error.
The server I have set up has 2 nic cards in it. I am only using one.
How can I manually setup up the nic?
ASKER
I get this form ifconfig eth0
mnelson@oryx:~$ sudo ifconfig eth0
[sudo] password for mnelson:
eth0 Link encap:Ethernet HWaddr 00:22:64:0b:b0:5a
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:18 Memory:f8000000-f8012700
mnelson@oryx:~$ sudo ifconfig eth0
[sudo] password for mnelson:
eth0 Link encap:Ethernet HWaddr 00:22:64:0b:b0:5a
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:18 Memory:f8000000-f8012700
ASKER
interfaces file has this
auto lo
iface lo inet loopback
do I delete this or hash it out? and then add
iface eth1 inet static
address 192.168.1.116
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 194.243.154.62 195.31.190.31
auto eth1
auto lo
iface lo inet loopback
do I delete this or hash it out? and then add
iface eth1 inet static
address 192.168.1.116
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 194.243.154.62 195.31.190.31
auto eth1
ASKER
sduo ifconfig lo
gets me
mnelson@oryx:~$ sudo ifconfig lo
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:136629 errors:0 dropped:0 overruns:0 frame:0
TX packets:136629 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6352325 (6.3 MB) TX bytes:6352325 (6.3 MB)
can I wipe out the current interfaces file and rebuild with the above formentioned?
gets me
mnelson@oryx:~$ sudo ifconfig lo
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:136629 errors:0 dropped:0 overruns:0 frame:0
TX packets:136629 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6352325 (6.3 MB) TX bytes:6352325 (6.3 MB)
can I wipe out the current interfaces file and rebuild with the above formentioned?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
iface lo inet loopback
It could be that they are configured thru NetworkManager? What if you type
sudo ifconfig eth0 ??
Anyway, you can set eth0 by typing the following in your /etc/network/interfaces file:
iface eth1 inet static
address 192.168.1.116
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 194.243.154.62 195.31.190.31
auto eth1
Of course, you need to customize addresses. Then run:
sudo /etc/init.d/networkign restart