Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6329  / 2 Years ago, sat, september 17, 2022, 8:14:24

I am getting a static ip from provider. But in my Ubuntu 11.04 pc i have two reserved ethernet interface mostly both are like getting automatic dhcp IP as of now.



But i want my Ethernet interface 0 as static ip WAN. And Ethernet interface 1 as dhcp server.



How can i do this setup?


More From » 11.04

 Answers
2

I think it should work this way: setup the two interfaces in /etc/network/interfaces. Install dhcp3-server package. After that, in the /etc/defaults/dhcp3-server configuration file, you can tell the DHCP server, on what interface(s) it should listen: INTERFACES="eth0". That's all!


[#43202] Sunday, September 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mugustered

Total Points: 193
Total Questions: 123
Total Answers: 108

Location: Bermuda
Member since Wed, Mar 22, 2023
1 Year ago
mugustered questions
Sat, Nov 19, 22, 07:03, 1 Year ago
Sun, May 29, 22, 11:53, 2 Years ago
Fri, Dec 23, 22, 15:02, 1 Year ago
;